Friday 9 July 2021

How to Create Multi Color Background Using CSS

 How to Create Multi Color Background Using CSS


Example just Copy and past code to Your Editor and View Multi Color background Output Using CSS 


<!-- HTML <body bgcolor=yellow> -->

<!-- CSS  <body style="background:red;"> -->

<!--<body style="background:linear-gradient(red,yellow);"> -->

 <body style="background:linear-gradient(orange,black,blue, yellow)"> 

<h1 style="background:linear-gradient(white, blue)">welcome</h1>

<button style="background:linear-gradient(red, orange,yellow); width:200px; padding:10px;">Click me</button><br>

<input type=text style="background:linear-gradient(pink,yellow,green); width:250px; padding:10px;">

Learn all Programming Languages with youtube.com/avadhtutor




No comments:

Post a Comment