Creating a layered card with HTML & CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI42 min

About this video

A step-by-step CSS tutorial that builds a layered UI card from an iCodeThis challenge, using HTML, a main grid and subgrid for overlapping elements, and styling for the status and button. It suits front-end learners who already know basic HTML and CSS.

What you’ll learn

  • Structure card markup in HTML for a layered UI component
  • Lay out overlapping card elements with CSS grid and subgrid
  • Style a status indicator and button to match a design brief