Home | All Fwiends | Random | Online | Music | Blog | Search

ryswyke's Blog

"𝕸𝕮𝕽𝖃𝖃"
Female
18 years old
Interzone
Last Login: 1600331084000
Contacting ryswyke
Message
Report
Add
Block
All Blogs (9/10)
1589271244000

Gradients!!!

Gradients are a v cool CSS feature that I didn't know about until now.

So for example if you want a gradient that goes from black on the left to cyan on the right you'd use this:

background:linear-gradient(90deg,#000,#0ff);

The deg thing is how it's rotated so for example 45deg would be diagonal, and the hex codes are the colours at the end (i think u can use hex codes 2 but i prefer these)

Please login to leave a comment.