CSS, Cascading style sheets, are primarily used to enable text styling, tables, and to format the layout of Web pages. Usable with any XML-based markup language, CSS is best suited for describing the presentation of web pages and dynamically adapting web content to different formats.
This competency area includes exploring Cascading and Inheritance, exploring text styling fundamentals, understanding the use of layouts in CSS, understand the boxing of elements in CSS, among others.
- Cascading and Inheritance - Inheritance is associated with how the elements in the HTML markup inherit properties from their parent (containing) elements and pass them on to their children. The cascade relates to CSS declarations being applied to a document, and how conflicting rules do or do not override each other.
- Styling Text - Explore text styling fundamentals including setting font, boldness, italics, line and letter spacing, drop shadows, and other text features. Understand the application of custom fonts to a webpage, and styling lists and links.
- Layout - Understand the use of layouts in CSS. Learn positioning of elements out of the normal document layout flow, and enable elements to behave differently.
- Box Model - Understand the boxing of elements in CSS. Box Model is used in CSS design and layout and wraps around every HTML element. Learn CSS box models with the full use of margins, borders, padding, and enclosing content.