<?xml version="1.0" encoding="utf-8"?>

CSS properties

CSS properties Bad Practice
CSS properties Best Practice

Each declaration consists of two parts — a property and a value — separated by a colon. Property refers to the characteristic you want to define. For example, to define font size, we use the property font-size.[1]

Properties allow you to style pretty much anything on the page: text, alignment, layout, tables, etc. You can find alphabetical lists of all CSS properties on different resources.[2]

Improve your UX & Product skills with interactive courses that actually work