Does anyone help me make a dotted or striped background in css?
Does anyone help me make a dotted or striped background in css?
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>