Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to make gradient in backgound of a div

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 179
    Comment on it

    Hello Readers if you need to show mix colored in the background of the div then instead of using the photoshop images you can also do it by using CSS3.

    Lets see the code css for this:-

    background:-webkit-gradient(radial, 165 0, 0, 220 -257, 465, from(#8664FF), to(#FF4E28))
    

    Here you just have to add this to your div style like this:-

    <div style ="background:-webkit-gradient(radial, 165 0, 0, 220 -257, 465, from(#8664FF), to(#FF4E28))" >This
    is the <br>Example of Beautiful CSS Gradient in CSS<br>
    Findnerd.com
    </div>
    

    Output:-

    This is the
    Example of Beautiful CSS Gradient in CSS
    Findnerd.com

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: