AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Use CSS to Create a Gradient Generator
The in keyword is new with color spaces. So you have these like definitions about the prelude or like the first part of your gradient there is about size and position. And now we have the addition of which color space do you want it to be in? That's where those things are coming from. They don't tell you that there's these keywords and some of the keywords are rad. Like two top right is responsive out of the box. It'll stay straight if you're resized the box. But if you do top right, it literally takes the first color and make sure that it ends perfectly at the bottom left corner for example. The last color ends perfect at the top right