CSS Reference

pseudo-classes

pseudo-classes

A pseudo-class is used to define a special state of an element, such as when a user moves mouse over it or when an element gets focus.

line-height

line-height

The line-height CSS property defines the height of line boxes.

margin

margin

The margin CSS property defines the margin space around an element.

padding

padding

The padding CSS property defines the padding space between an element content and its border.

pseudo-elements

pseudo-elements

A CSS pseudo-element is a keyword added to a selector that defines a style to a specific part of the selected element.