Difference between revisions of "Css classes"
From MyWiki
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
.greeen-link:hover{ | .greeen-link:hover{ | ||
color: green; | color: green; | ||
| − | background: | + | background: gray; |
} | } | ||
</source> | </source> | ||
| + | |||
| + | Classes can style any tag<br> | ||
Latest revision as of 18:11, 17 November 2015
class = "indent" in "<a" tag
.indent{
margin-left: 10px;
}
<span class="ident">asdfasdf</span> # To make indent first line of paragraph
.gap-below{
margin-below: 25px; # put in "<p" tag
}
.greeen-link:hover{
color: green;
background: gray;
}Classes can style any tag