Google Fonts provides Material Icons and Material Symbols. Use the icon library to find a suitable symbol and copy the setup for the set you choose. […]
SVG is a vector format that describes shapes and paths. It scales cleanly for icons, logos, and diagrams. Photos usually work better as raster images such […]
The first three exercises cover intermediate CSS. The remaining four work with sizing functions, custom properties, transitions, and visual effects. Write your own solution before opening […]
Use a real button for an action and a link for navigation. Build a reusable base style with enough padding, a visible focus indicator, and readable […]
The cursor property changes the pointer shown above an element. It communicates what the visitor can do, but also provide visible or semantic feedback for touch […]
Flexbox arranges the direct children of a container along a main axis and aligns them across a perpendicular cross axis. The axes follow the direction and […]
CSS shadows can improve contrast or show depth. Text and box shadows have different syntax even though both use offsets, optional blur, and a color. 1. […]
Layouts can be classified by how they respond to available space and by the CSS mechanism used to place elements. These are separate choices: a responsive […]
Web fonts let a browser use a typeface that is not already installed. Check the license, choose an appropriate format, and keep a fallback family so […]
This CSS reference brings together selectors, properties, and common values from the beginner, intermediate, and advanced lessons. Examples show typical syntax. They are not exhaustive lists […]
Attribute selectors match elements by the attributes written in their HTML. They are useful for groups such as required input fields, links to PDFs, or elements […]
A media query applies CSS when conditions about the environment are true. Use media queries to adapt the layout when the content needs more space and […]