posts from @FutureVoid tagged #css

also:

FutureVoid
@FutureVoid

I ran into a fun edge case where the design calls for a translucent ring with background blur filter.

Tried importing the piece of the design file as an SVG, but the blur doesn't work on the web page

Does someone know how I could draw this thingy with CSS or, perhaps, as an SVG?


FutureVoid
@FutureVoid

It involves creating a translucent background element with backdrop-filter: blur and clipping it with an SVG. The exact process is a bit arcane and requires a pretty special mask image, but potentially allows to create glassmorphism elements of any shape.

You can learn more about using clip-path with vector graphics in this video. Meanwhile, I will be figuring out how to add the inner shadow to the ring