Answers for "how to add gradient in css on a menu from top to bottom"

CSS
3

linear-gradient(top to bottom)

/* A gradient going from the top to bottom
   starting red and finishing orange */

.class {
    background: linear-gradient(to bottom, #f32b60, #ff8f1f);
}
Posted by: Guest on December-19-2020
0

top down gradient css on body

html{
    height:100%;
    background: linear-gradient(0deg, white, blue 80%) no-repeat;
}
Posted by: Guest on August-21-2021

Code answers related to "how to add gradient in css on a menu from top to bottom"

Browse Popular Code Answers by Language