Difference between revisions of "Css classes"
From MyWiki
| Line 20: | Line 20: | ||
</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