Mark As Completed Discussion

Common CSS Properties

CSS provides an abundant amount of styling properties to work with. Some common CSS properties are discussed in the table below.

CSS PropertyValueUsage
font-stylenormal / italic/ obliqueAllows for styling the font
font-weightnormal / boldAdds weight to the font
font-sizen pxSpecify an integer value of n to adjust font size
background-colorColor name or Hex code of colorAdds color to the background of element.
paddingn pxCreates a space around the HTML element.