List of common CSS Properties
A quick reference of the most used CSS properties. Click the chapter links to learn each group in detail.
Text and fonts
| Property | Use |
|---|---|
color | Text colour |
font-family, font-size, font-weight | Font. See CSS Fonts |
text-align, text-decoration, text-transform | See CSS Text |
line-height, letter-spacing | Spacing in text |
Box model
| Property | Use |
|---|---|
width, height, max-width, min-height | Size. See CSS Height and Width |
padding | Inside space. See Padding |
margin | Outside space. See Margins |
border, border-radius, outline | Borders. See Borders |
box-sizing | See Box Model |
Background and effects
| Property | Use |
|---|---|
background-color, background-image | See CSS Background |
box-shadow, text-shadow | See Shadows |
opacity | See Opacity |
transition, animation, transform | See Transitions and Animations |
filter | Blur, grayscale and more |
Layout
| Property | Use |
|---|---|
display | See display |
position, top, left, z-index | See Position and z-index |
float, clear | See Float |
flex, justify-content, align-items | See Flexbox |
grid-template-columns, gap | See Grid |
overflow | See Overflow |
Lists and tables
| Property | Use |
|---|---|
list-style | See CSS Lists |
border-collapse | See CSS Tables |
Congratulations! Chapter Finished. Learn more about the similar topics:
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |