HTML and CSS Reference
In-Depth Information
I won't say much about this because it's all pretty standard CSS stuff. It uses mostly element selectors with an
occasional class selector. If you preview your webpage now it should look like Figure 4-7 .
Figure 4-7. The webpage with only basic styling
To simplify the sample code, i will only use the Chrome vendor prefix, -webkit- , and only when the
current version (19) doesn't support the standard attribute. i can get away with this because i am only expecting the
page to work in the Chrome browser. normally, you cannot make this assumption and will need to include all of the
vendor prefixes.
Note
Using Rounded Corners
Adding rounded corners is very easy to do with CSS3; just define the border-radius attribute. Your web page will
use rounded corners for the aside , nav , and footer elements as well as elements with the rounded class.
 
 
Search WWH ::




Custom Search