Answers for "background gradient transparent white css animation"

CSS
15

transition background gradient

In CSS, you can't transition a background gradient. It jumps from one gradient to the other immediately, with no smooth transition between the two. He documents a clever tactic of positioning a pseudo element covering the element with a different background and transitioning the opacity of that pseudo element.
Posted by: Guest on October-11-2020
-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

Code answers related to "background gradient transparent white css animation"

Browse Popular Code Answers by Language