Blog Archive
-
▼
2012
(25)
-
▼
August
(14)
- The cascade and specificity
- Attribute selectors
- Child and adjacent sibling selectors
- Advanced selectors
- The universal selector *
- Pseudo-classes
- Common selectors
- Getting Your Styles to Hit the Target
- Divs and spans
- IDs or Classes?
- Naming your elements
- IDs and class names
- The power of meaning
- A brief history of markup
-
▼
August
(14)
Labels
- CSS (25)
- Tutorials (4)
- Web design (7)
Powered by Blogger.
Thursday, August 30, 2012
Getting Your Styles to Hit the Target
A valid and well-structured document provides the foundations to which your styles are applied. To be able to style a particular HTML element using CSS, you need to have some way of targeting that element. In CSS the part of a style rule that does this is called the selector.
In this chapter, you will learn about:
- Common selectors
- Advanced selectors
- New CSS 3 selectors
- The wonderful world of specificity and the cascade
- Planning and maintaining your style sheets
- How to comment your code
Címkék:
CSS,
Web design
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment