Properties Reference
Property Description
background

This property is the shorthand for setting the background of an element.

border

This property is shorthand for setting the main border properties of an element, including width, style, and color.

box-shadow

This generates a shadow effect around or within a box element.

color

Specifies the color of the text.

margin

Margin is the shorthand property for defining the distance of an element from other elements along all sides.

opacity

This sets the overall transparency of an element.

padding

Padding is the shorthand property for defining the distance between the selected element and the elements inside of it.

position

This sets the method by which an element is positioned.

text-align

Specifies the horizontal alignment of text in an element.

top

Sets the location of the top edge of a non-static element.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License