BentoumiTech
BentoumiTech

Reputation: 1683

How to turn a background image effect to 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?

enter image description here

Upvotes: -3

Views: 79

Answers (1)

Noxx1ous
Noxx1ous

Reputation: 1

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.

background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(63,94,251,0) 100%);

Upvotes: 0

Related Questions