CSS Properties Flashcards
css property: font-family
let’s you change the font of the elements text content
css property: color
changes the color of text
css property: background-color
sets the background color of an element
css property: padding
sets the padding space on all sides of an element
css property: padding-bottom
sets the height of the padding area at the bottom of an element
css property: padding-left
sets the padding space required on the left side of an element
css property: padding-right
sets the padding space required on the right side of an element
css property: padding-top
sets the padding space required on the top of an element
css property: list-style-type
specifies the appearance of a list item element
css property: text-indent
specifies how much horizontal space should be left before the beginning of the first line of the text content of an element
css property: margin
sets the margin for all four sides
css property: margin-bottom
sets the margin space required on the bottom of an element
css property: margin-left
sets the margin space required on the left of an element
css property: margin-top
sets the margin space required on the top of an element
css property: margin-right
sets the margin space required on the right of an element
css property: text-align
describes how inline content like text is aligned in its parent block element
css property: font-style
lets you select italic or oblique faces within a font-family
css property: font-weight
specifies the weight or boldness of the font
css property: letter-spacing
specifies spacing behaviour between text characters
css property: line-height
specifies the minimum height of line boxes within the element
css property: text-decoration
sets the text formatting to underline, overline, line-through or blink
css property: text-transform
specfies how to capitalize an element’s text
css property: word-spacing
specfies the spacing behaviour between tags and words
css property: font-stretch
selects a normal, condensed, or expanded face from a font
css property: text-shadow
adds shadows to text
css property: font-size
specifies the size of the font