Answers for "add linear gradient to body"

CSS
0

css color gradient background full height

html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
Posted by: Guest on February-11-2020
2

how to make a linear gradient in css

/* Add the class name insted of class */
.class {
  background: linear-gradient(to top, #000000, #fffffff);
}
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language