Background dotted or striped in css

0

Does anyone help me make a dotted or striped background in css?

    
asked by anonymous 25.11.2017 / 19:23

1 answer

1

Follow the code to create the stripes. The first two colors are for the first stripe, and the last two colors for the second.

div { 
background: repeating-linear-gradient(
90deg,
#000,
#000 10px,
#FFE13A 10px,
#FFE13A 20px
);

width: 900px;
height: 900px;

}
<div> </div>
    
26.11.2017 / 01:50