WebnD Inventory
CSS logo

CSS

Style presentations, responsive layouts, flexbox, grid, and animations.

All Concepts18 concepts

Types

3 min

CSS can be applied in three ways: inline, internal, and external. Each has different scope, priority, and use cases.

css·#css·#types
Read

Selectors

3 min

Selectors target HTML elements for styling. Understanding selector types and specificity (which rule wins when several apply) is core to writing predictable CSS.

css·#css·#selectors
Read

Inheritance

3 min

Inheritance lets certain CSS properties automatically pass from a parent element to its children, reducing repetition. Not all properties inherit by default — mostly text-relate...

css·#css·#inheritance
Read

Box Model

3 min

Every HTML element is rendered as a rectangular box made of content, padding, border, and margin. Understanding this model is essential for controlling spacing and sizing accura...

css·#css·#box
Read

Units

3 min

CSS units define lengths, sizes, and proportions. They're split into absolute units (fixed size) and relative units (scale based on context, like parent font size or viewport).

css·#css·#units
Read

Functions

3 min

CSS functions let values be computed dynamically instead of hard-coded — performing math, choosing responsive values, or referencing variables. calc(), clamp(), min(), and max()...

css·#css·#functions
Read

Variables

3 min

CSS custom properties (variables) let you store reusable values — colors, spacing, fonts — in one place and reference them throughout a stylesheet, making themes and maintenance...

css·#css·#variables
Read

Colour & Background

3 min

CSS offers multiple color formats and a rich set of background properties for controlling fills, images, gradients, and positioning behind content.

css·#css·#colour
Read

Display & Layout

3 min

The display property determines how an element participates in the page's layout — whether it takes a full line, sits inline, or becomes a flex/grid container. It's the foundati...

css·#css·#display
Read

Flexbox

4 min

Flexbox is a one-dimensional layout system for arranging items in a row or column, distributing space, and aligning content — ideal for navbars, cards, and centering.

css·#css·#flexbox
Read

Grid

3 min

CSS Grid is a two-dimensional layout system that arranges items into rows and columns simultaneously, making it ideal for full page layouts and complex UI structures.

css·#css·#grid
Read

Positioning

4 min

The position property controls how an element is placed relative to its normal position, its nearest positioned ancestor, or the viewport — enabling overlays, sticky headers, an...

css·#css·#positioning
Read

Typography

3 min

Typography properties control how text looks and reads: font family, size, weight, spacing, and alignment — key to readability and visual hierarchy.

css·#css·#typography
Read

Borders & Effects

4 min

Borders define an element's visible edge, while visual effects like shadows and object-fit shape how content and media appear inside their containers.

css·#css·#borders
Read

Pseudo Selectors

4 min

Pseudo-classes select elements based on state or position (like :hover or :first-child), while pseudo-elements target a specific part of an element (like ::before or ::first-line).

css·#css·#pseudo
Read

Responsiveness

4 min

Responsive CSS makes layouts adapt gracefully across screen sizes and devices, primarily through media queries, flexible units, and fluid layout techniques.

css·#css·#responsiveness
Read

Transition & Transform

3 min

Transitions animate property changes smoothly over time, while transforms let elements move, rotate, scale, or skew without affecting document flow — together they create polish...

css·#css·#transition
Read

Animation & Keyframes

4 min

CSS animations allow multi-step, looping, or complex motion sequences using @keyframes, going beyond what simple transitions can achieve (which only animate between two states).

css·#css·#animation
Read