Answers for "transition background gradient"

CSS
10

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
2

html css background linear-gradient

#background {
  background-image: linear-gradient(to left, #4B2C4C , #151F28);
}
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language