Basic CSS / PDF
Sample of the pdf document :
• Cascading: Multiple styles can overlap in order to specify a range of style from a whole web site down to a unique element. Which style gets applied pertains to the rules of CSS cascading logic.
• Style: CSS deals specifically with the presentationdomain of designing a web page (color, font, layout, etc).
• Sheet: Normally, CSS is a file separatefrom the HTML file –linked to the HTML file through its <head> (exceptions apply).
Why CSS?:
• Allows for much richer document appearancesthan HTML.
• Reduce workloadby centralizing commands for visual appearance instead of scattered throughout the HTML doc.
• Use same style on multiple pages.
•Reduce page download size
Selectors:
• Select elements to apply a declared style.
• Selector types:
–Element Selectors: selects allelements of a specific type (<body>, <h1>, <p>, etc.)
–Class Selectors: selects allelements that belong to a given class.
–ID Selectors: selects a singleelement that’s been given a unique id.
–Pseudo Selectors: combines a selector with a user activated state(:hover, :link, :visited)......
Click here for Download PDF / FREE
0 commentaires: