11 Replies
i achieved by this:
i wanted to know if there will be any better way for this or liked i asked, any way to bend an element?
@kevinpowell any help?
challenge link:
https://cssbattle.dev/play/Xjfiq68aHuYcV9dp9TQ8
CSSBattle
The funnest CSS game for web designers & developers
this is fairly trivial to do with one element instead. look into the
box-shadow
propertyI will go for some divs hereπ
yeah actually i was looking for a way to bend an element
i dont think there is
don't @ Kevin or the mods unless there's a serious discord related issue please
sure
Why do you want to "bend" an element?
I would do this with a radial gradent on the background. But there are several other possibilities.
This is my solution:
could also go with a single element including a
border-style: double;
for 2 of the rings and then an outline
with an outline-offset
for the third maybe?I think this would also work:
I didn't play around with the ring spacing. But some some adjustments to the percentage will get the exact rings.