Better way of replicating Instagram story circular ring?
I have this for now but it bugs me to know if there is a better way than mine https://codepen.io/sougataghar47/pen/jENogLv?editors=1100
2 Replies
I would be tempted to do this with less HTML and use pseudo elements for the circle gradient etc.
Something like this:
https://codepen.io/cbolson/pen/KwPjVwo
(adding the code here as I will probably delete the codepen later)
i wouldnt use
z-index: -1
and would just use z-index: 1
on the image
assuming that it works