Lesson 2 of 5 30 min

CSS Styling & Layout

CSS (Cascading Style Sheets) controls the visual presentation of HTML. This lesson covers the box model, Flexbox, Grid, and responsive media queries.
css
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
← HTML Foundations