⚡
Browse

CSS Properties and What They Control

Learn the most common CSS properties and the styling each one controls.

Code36 items3 levelsDifficulty 2/5
Start training →

Free · no signup · works on any device

Levels

Start easy — harder levels unlock as you improve, or jump ahead anytime.

1
Essentials
10 items
2
Layout & Box Model
15 items
3
Advanced
11 items

All 36 cards

color
→
text color
background-color
→
element background color
font-size
→
text size
font-weight
→
text boldness
font-family
→
typeface
text-align
→
horizontal text alignment
width
→
element width
height
→
element height
opacity
→
transparency level
border
→
element border
margin
→
space outside an element
padding
→
space inside an element
display
→
box display type
position
→
positioning method
float
→
horizontal float of an element
box-sizing
→
how width and height are calculated
overflow
→
handling of content that exceeds the box
z-index
→
stacking order
flex-direction
→
main axis direction of flex items
justify-content
→
alignment along the main axis
align-items
→
alignment along the cross axis
gap
→
space between grid or flex items
border-radius
→
corner rounding
line-height
→
vertical spacing between lines
letter-spacing
→
space between characters
box-shadow
→
shadow around an element
text-shadow
→
shadow behind text
transform
→
rotate, scale, or translate an element
transition
→
animation between property changes
animation
→
keyframe-based animation
cursor
→
mouse pointer style
visibility
→
whether an element is visible
object-fit
→
how a replaced element fits its box
grid-template-columns
→
column layout of a grid
backdrop-filter
→
graphical effect on area behind an element
white-space
→
how whitespace and line wrapping are handled

Keep going

HTML Elements and Their Purpose

Learn what common HTML elements do and when to use them.

Code38 items

HTTP Status Codes

Learn the meaning of common HTTP status codes across the 2xx, 3xx, 4xx, and 5xx ranges.

Code34 items

HTTP Methods & REST Conventions

Learn what each HTTP method, status code, and REST principle means in web development.

Code31 items

Big-O Time Complexity of Common Operations & Algorithms

Test your knowledge of the time complexity of common data structure operations and classic algorithms.

Code35 items