Extra Credit

CSS

Official docs outline

20 sections
  1. Syntax and selectors

    Rule syntax, type/class/ID/attribute selectors, combinators, pseudo-classes and pseudo-elements.

  2. The cascade

    Origin and importance, specificity, source order, @layer and scope.

  3. Specificity

    How selector weight resolves conflicts.

  4. Inheritance and value processing

    Inherited vs non-inherited properties, initial, inherit, unset and revert.

  5. Values and units

    Lengths (px, rem, em, vh), percentages, calc(), math functions and value definition syntax.

  6. Colors

    Color notations (hex, rgb, hsl, oklch), color-mix and transparency.

  7. Box model

    Content, padding, border, margin, box-sizing and margin collapsing.

  8. Display and normal flow

    Block and inline formatting, display values and the flow layout.

  9. Positioning and stacking

    position: relative/absolute/fixed/sticky, z-index and stacking contexts.

  10. Flexbox

    Flex containers and items, main/cross axis, grow/shrink/basis, alignment and wrapping.

  11. Grid layout

    Tracks, template areas, fr units, auto-placement, subgrid and alignment.

  12. Logical properties and writing modes

    Inline/block flow-relative properties and writing-mode.

  13. Custom properties

    --variables, var(), fallbacks, @property and theming.

  14. Fonts and text

    font-family, @font-face, variable fonts, line-height and text properties.

  15. Media queries and responsive design

    @media, viewport units, prefers-color-scheme, prefers-reduced-motion and mobile-first design.

  16. Container queries

    @container, container-type and component-level responsiveness.

  17. Transitions and animations

    transition, @keyframes, timing functions, scroll-driven animation and performance.

  18. Transforms

    translate, rotate, scale, 3D transforms and perspective.

  19. Nesting and modern selectors

    Native nesting, :is(), :where(), :has() and relative selectors.

  20. Overflow and scroll behaviour

    overflow, scroll snap, sticky and scroll containers.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 41