How make ZigZag line, vertical Not horizontal with css
I try, but I can't
Try this you can adjust their size using background-size property.
background-size
.con{ width:200px; height:200px; background: linear-gradient(45deg, #ECEDDC 25%, transparent 25%) 0 -50px, linear-gradient(135deg, #ECEDDC 25%, transparent 25%) 0 -50px, linear-gradient(225deg, #ECEDDC 25%, transparent 25%), linear-gradient(315deg, #ECEDDC 25%, transparent 25%); background-size: 20px 20px; background-color: #EC173A; }
<div class="con"></div>
Copyright © 2021 Jogjafile Inc.
Try this you can adjust their size using
background-size
property.