Use a CSS Linear Gradient to Create a Striped Element, I don't know how to make a color stop

Tell us what’s happening:
I don’t know how to make a color stop, I bet it told me but I don’t understand. Please Help Me.

Your code so far


    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin:  50 auto;
    background: repeating-linear-gradient(
      yellow 0px,
      blue 40px,
      green 40px,
      red 80px



Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:

Hi Sun_Sword,

In the example above, the first two color stops are: yellow and blue, and the second two color stops are: green and red.

Let me know if that helps. :slight_smile:

Thank you so much, that was just what I needed.

Cool! happy coding!

I got stumped there too last time. Didn’t understand the meaning of color stop the first time around.