Applied Visual Design - Use a CSS Linear Gradient to Create a Striped Element - Free Code Camp

Useful Programmer on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerDesign Engineering4 min

About this video

Shows how to use a CSS linear gradient to paint a striped background on an element. Suited to people learning CSS who want to style interfaces with code.

What you’ll learn

  • Create a striped background with a CSS linear gradient
  • Apply repeated color stops to an element's background in CSS