Mobile app version of vmapp.org
Login or Join
Cody1181609

: How do you use/make CSS based buttons? 'd like to have one image for the background and then reuse that for any size button with any text on it by just using a CSS class. So, I'd like

@Cody1181609

Posted in: #Button #Css

'd like to have one image for the background and then reuse that for any size button with any text on it by just using a CSS class. So, I'd like to have the button, the moused-over and clicked button as images, but then use CSS to apply that to a button so that I can change the text in the HTML (rather than having to recreate the button image everytime the text changes or I need a new button with new text). Also, that'll allow me to change the color of ALL buttons in one place.

I do web development only part time, so a bit of a newbie at the CSS stuff.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

1 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme