HTML and CSS Reference
In-Depth Information
Figure 11-12 The list markers are now positioned inside the principal block.
list-style (Shorthand)
You are able to combine list-style-type , list-style-image , and list-style-position into one
handy shorthand declaration, list-style with the following syntax:
list-style: list-style-type list-style-position list-style-image
1. Remove the three declarations from the .benefits ul rule set and replace them with the list-style
shorthand declaration:
list-style: disc inside url(“../images/check.png”);
2. Save styles.css.
In this chapter, you added the finishing touches to the fonts and text on the Cool Shoes & Socks page. Any text that
needs to stand out and grab the users' eyes does so, and the main text is well laid out and easy to read.
In the next chapter, you jump deep into the modern web, learning some of CSS3's most unique features: 2D trans-
Search WWH ::

Custom Search