flâneur — a map of the web's best reading

How can I create a gradient like this with css? : r/css

reddit.com · 6 words · saved by 1 readers

A community for discussing about CSS (Cascading Style Sheets), Web Design and surrounding relevant topics. Feel free to discuss, ask questions, share projects and do other things related to CSS here. Very rough example! I’m trying to make a two layer gradient that goes from one color to another on the top layer and does the reverse on the bottom layer. My example has a gap between them but that’s just the limits of drawing on my phone, I want them to touch. I was able to get something close to what I want with a conic gradient, but it’s not perfect, so I’m hoping there’s another way. If it’s not obvious I’m very inexperienced with css, but I love poking at stuff until I can get it to work Make two elements with the same linear gradient just with one reversed. I got it!! linear gradient from left to right going transparent-purple-transparent, on top of conic gradient with defined degree to split it into 4 quadrants. css: background-image: linear-gradient(to right, transparent, purple, t

Reddit - Please wait for verification

Explore this link on the map →

related reading