Answers for "linear gradient oppacity"

CSS
-1

css background linear gradient transparent

body{
  height: 200px;
  background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}
Posted by: Guest on May-25-2021
3

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