I'm trying to achieve the two effects you see below in CSS, but I can't find how to do them.
Does anyone know the name of this CSS effect or how to achieve something similar with pure CSS?
I'm trying to achieve the two effects you see below in CSS, but I can't find how to do them.
Does anyone know the name of this CSS effect or how to achieve something similar with pure CSS?

I would try to achieve this using a simple gradient with the outermost color matching the background color at the 100% marker or fading it out completely toward the end with the same color all the way through. Below is an example of the last bit.