HTML and CSS Reference
In-Depth Information
This means that with “ btn ” applied here the slider
buttons also takes its properties, such as box shadow,
border etc. All of these can be overwritten.
The complete CSS code would be as:
#hello div.slider p.navigation a.btn {
border-color:#b9b9b9;
background-color:#FFF;
background-position:-100px -100px;
padding:3px 6px;
display:block;
float:left;
margin:0 5px 0 0;
}
Here's what you overwritten from the btn class to
apply to the slider buttons:
• the border: since it uses the same width for the
border, you've just replaced the color with the
border-color property;
• the padding: the space is a bit different;
 
Search WWH ::




Custom Search