Hi i want effect like this on my div but only at the top:
I know there is css mask property but it's really complicated to me.
My solution is I created single circle svg and repeat it multiple times but i also need that left/right space.
.container {
margin: 20px 0;
height: 400px;
background: lightgray;
position: relative;
}
.svg {
background: url('../../assets/circle-gapped.svg');
height: 100%;
background-repeat: repeat-x;
position: absolute;
left: 0;
right: 0;
top: -30px;
}
<div class="container">
<div class="svg" />
</div>
Like below:
Or like below to have responsiveness: