CSS Fonts

The font CSS property sets the style, variant, boldness, size/line-height, and the font family for an element's text content.It is a shorthand property for setting the individual font properties in a single declaration.

  • font
  • font-display
  • font-family
  • font-feature-settings
  • font-kerning
  • font-language-override
  • font-optical-sizing
  • font-size
  • font-size-adjust
  • font-stretch
  • font-style
  • font-variant
  • font-variation-settings
  • font-weight
  • font-family

    The font-family CSS property sets the font face to be used for element's text content. Start with the font that you want first, then any fonts that might fill in for the first if it is unavailable.

    fonts_code_image fonts_code_ss

    CSS Border

    The border property sets the width, style, and color for all four sides of an element's border. It is a shorthand property for setting the individual border properties in a single declaration.

  • border
  • border-bottom
  • border-block
  • border-end
  • border-collapse
  • border-color
  • border-image
  • border-inline
  • border-left
  • border-radius
  • border-right
  • border-spacing
  • border-start
  • border-style
  • border-top
  • border-width
  • border-style

    The border-style CSS property is a shorthand property for setting the individual border style properties in a single declaration.

    border_code_image border_ss

    CSS Margin

    The margin CSS property sets the margin on all four sides of the element. It is a shorthand property for margin-top, margin-right, margin-bottom, and margin-left property.

  • margin
  • margin-block
  • margin-bottom
  • margin-inline
  • margin-left
  • margin-right
  • margin-top
  • margin-trim
  • margin_code_image margin_ss

    CSS Padding

    The padding CSS property sets the padding on all four sides of the element. It is a shorthand property for padding-top, padding-right, padding-bottom, and padding-left property.

  • padding
  • padding-block
  • padding-bottom
  • padding-inline
  • padding-left
  • padding-right
  • padding-top
  • padding_code_image padding_ss