Auto color changing text || Text decoration with changing color || Text background color change CSS

 Text Background color Change CSS

    With CSS code we can change the color of text background. It also plays a animation for better view. The linear-gradient adds extra layer of beauties' .
see the following example

Cₛₛ ₜₑₓₜ Bₐcₖgᵣₒᵤₙd

Text Background color Change CSS

Just add a piece of CSS for desired DIV

<style>
{ color:#e30712;background-image: -webkit-linear-gradient(45deg,rgba(255,101,165,1) 0,rgba(255,101,165,1) 13%,rgba(255,107,154,1) 35%,rgba(255,134,106,1) 100%);; -webkit-background-clip: text;-webkit-text-fill-color: transparent;     -webkit-animation: hue 7s infinite linear; }  @-webkit-keyframes hue {from {-webkit-filter: hue-rotate(0deg);}to {-webkit-filter: hue-rotate(360deg);}}}
</style>

Post a Comment

0 Comments