Background colors & html markup

So I’ve used a colour gradient that I created using this website

However I’m trying to change the transition to from top to down? How would I do this in this case?

Also, whenever I add any text in the h1 element, the background changes? Why is this?

Hello @mangomania … where you have declared 25deg in your gradient, you can change this to to top and it will change direction … or to bottom.

Just to note, on line 6 you have not closed your <header> element.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.