CSS syntax
eg:
h1{
text-align(property to change): center(value);
color: blue;
}
Selecting elements in CSS
CSS Classes
CSS IDs
specifies li's inside of ul's
here ul li acts as a selector of all the items that are in list of ul.
CSS syntax
eg:
h1{
text-align(property to change): center(value);
color: blue;
}
Selecting elements in CSS
CSS IDs
here ul li acts as a selector of all the items that are in list of ul.
Comments
Post a Comment