CSS code for button, where and how to add code to site
-
I used a CSS button generator and have code for the button, but am confused where and how I place this code.
In CSS? Where? Then how do I indicate in HTML that I want the button placed on a page?
In HTML? Some online info talks about putting it in the “Header”. Where do I find that?
Obviously I am not technologically savvy, so basic information will be most helpful..btn { -webkit-border-radius: 12; -moz-border-radius: 12; border-radius: 12px; -webkit-box-shadow: 6px 6px 6px #666666; -moz-box-shadow: 6px 6px 6px #666666; box-shadow: 6px 6px 6px #666666; font-family: Arial; color: #ffffff; font-size: 36px; background: #d6301f; padding: 10px 20px 10px 20px; text-decoration: none; } .btn:hover { background: #d63O1f; background-image: -webkit-linear-gradien
t(top, #d63O1f, #f00909);
background-image: -moz-linear-gradient(top, #d63O1f, #f00909);
background-image: -ms-linear-gradient(top, #d63O1f, #f00909);
background-image: -o-linear-gradient(top, #d63O1f, #f00909);
background-image: linear-gradient(to bottom, #d63O1f, #f00909);
text-decoration: none;
}`
- The topic ‘CSS code for button, where and how to add code to site’ is closed to new replies.