Getting started
Backgrounds
Centering
Margins
Media queries
Floats
Typography
Flexbox
Cascading and specificity
Animations
Selectors
Colors
Box mode
Transiti
Length units
Pseudo-elements
Positioning
2D transforms
Tables
Browser support prefixes
Normalizing browser styles
Padding
Layout control
Filter property
Comments
Cursor styling
Box shadow
Custom properties, variables
Shapes for floats
Grid
Border
Functions
3D Transforms
Counters
Single element shapes
Opacity
Performance
Columns
Inline-block layout
Inheritance
CSS Image Sprites
Clipping and masking
List styles
Outlines
Structure and formatting of a css rule
Fragmentation
Overflow
CSS Object Model (CSSOM)
Feature queries
Stacking context
Internet Explorer hacks
Block formatting context
Vertical centering
Object Fit and Placement
Multiple columns
CSS design patterns
Contributors

Typography

suggest change

Syntax

Parameters

|Parameter|Details|

|———|—––| |font-style| italics or oblique| |font-variant| normal or small-caps| |font-weight| normal, bold or numeric from 100 to 900.| |font-size| The font size given in %, px, em, or any other valid CSS measurement| |line-height| The line height given in %, px, em, or any other valid CSS measurement| |font-family| This is for defining the family’s name. | |color| Any valid CSS color representation, like red, #00FF00, hsl(240, 100%, 50%) etc.| |font-stretch| Whether or not to use a confenced or expanded face from font. Valid values are normal, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded or ultra-expanded| |text-align| start, end, left, right, center, justify, match-parent| |text-decoration| none, underline, overline, line-through, initial, inherit;

Remarks

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents