Today, I learned more about the css tags. A css tag contains three items: selectors, properties, and values. for example:
h1
{
font-size: 24px;
}
h1 = selector.
font-size = property.
24 px = value.
I also learned about the 'Pseudo' selectors such as:
:hover ----> mouse over.
These are some codes from the tutorial:
.entry:hover h2
{
font-size: 30px;
}
.entry:hover p, .entry:hover img
{
display: block;
}
.entry p, .entry img
{
display:none;
}
References:
W3schools. 2010, CSS References, viewed 16 March 2010, <http://www.w3schools.com/css/css_reference.asp>.
No comments:
Post a Comment