CSS Reference
An interactive guide to CSS properties. Every page has a live playground: click a value, see the result instantly, copy the code, and open it in the HTML Viewer to try it with your own content.
Typography
font-familyThe font-family property sets which typeface the text uses. You list fonts in order of preference, and the browser uses the first one that is available.
font-weightThe font-weight property sets how thick or thin text is drawn, from hairline 100 to heavy 900.
Backgrounds
Layout
align-itemsThe align-items property aligns items along the cross axis of a flex or grid container. In a normal row, that means vertically.
gapThe gap property sets the space between items in a grid or flex container, without adding space around the outside edges.
aspect-ratioThe aspect-ratio property keeps an element at a fixed width-to-height ratio, such as 16:9 for video or 1:1 for squares, while its size stays flexible.
place-itemsThe place-items property is a shorthand that sets align-items and justify-items at once. It is the shortest way to center content in a grid.