CSS (Cascading Style Sheets) is a style sheet language used to describe the presentation of HTML documents.Creator: Håkon Wium Lie ProfileW3C Spec Repo
Core Concepts
Style sheet language for designing web content.
Introduced in 1996 to separate structure and style.
Inline, Internal, and External methods.
Selectors, properties, values and how rules are formed.
Selectors & Properties
Target elements using tag, class, ID, attribute, etc.
Hex, RGB, HSL, rem, em, %, px, etc.
Fonts, sizes, weights, spacing & text decoration.
Content, padding, border, and margin areas.
static, relative, absolute, fixed, sticky.
block, inline, flex, grid, none.
Layout & Visual Design
One-dimensional layout control.
Two-dimensional layout system.
margin, padding, width, height, etc.
Style elements with borders, radius, box-shadow.
Colors, images, gradients, and their properties.
Advanced CSS
Animate CSS property changes over time.
Rotate, scale, skew, translate elements.
Keyframes and advanced UI motion.
Responsive designs for various screen sizes.
Reusable values using `--var` syntax.
Organizing, resetting, and maintaining CSS.