Subjects covered include:
- Getting started with CSS
- Structure and Formatting of a CSS Rule
- Comments
- Selectors
- Backgrounds
- Centering
- The Box Model
- Margins
- Padding
- Border
- Outlines
- Overflow
- Media Queries
- Floats
- Typography
- Flexible Box Layout (Flexbox)
- Cascading and Specificity
- Colors
- Opacity
- Length Units
- Pseudo-Elements
- Positioning
- Layout Control
- Grid
- Tables
- Transitions
- Animations
- 2D Transforms
- 3D Transforms
- Filter Property
- Cursor Styling
- box-shadow
- Shapes for Floats
- List Styles
- Counters
- Functions
- Custom Properties (Variables)
- Single Element Shapes
- Columns
- Multiple columns
- Inline-Block Layout
- Inheritance
- CSS Image Sprites
- Clipping and Masking
- Fragmentation
- CSS Object Model (CSSOM)
- Feature Queries
- Stacking Context
- Block Formatting Contexts
- Vertical Centering
- Object Fit and Placement
- CSS design patterns
- Browser Support & Prefixes
- Normalizing Browser Styles
- Internet Explorer Hacks
- Performance
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content.
Separation of formatting and content also makes it feasible to present the same markup page in different styles for different rendering methods, such as on-screen, in print, by voice (via speech-based browser or screen reader), and on Braille-based tactile devices. CSS also has rules for alternate formatting if the content is accessed on a mobile device.
The name cascading comes from the specified priority scheme to determine which style rule applies if more than one rule matches a particular element. This cascading priority scheme is predictable.
The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998). The W3C operates a free CSS validation service for CSS documents.
In addition to HTML, other markup languages support the use of CSS including XHTML, plain XML, SVG, and XUL.
CSS has a simple syntax and uses a number of English keywords to specify the names of various style properties.
A style sheet consists of a list of rules. Each rule or rule-set consists of one or more selectors, and a declaration block.
Source: wikipedia