Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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.
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #transition #background #gradient
ADD COMMENT
Topic
Name
7+5 =