Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to make Ajax loading icon using CSS

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 188
    Comment on it

    Hello Reader's if your website is taking too much time to load the data then you can show the ajax loading icon for the time.

    Lets see how to put the loading icon in the website.

    <!DOCTYPE html>
    <html>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
    <body class="w3-container">
    <p>Use the w3-spin class to spin an element 360 degrees:</p>
    <p>
    <i class="fa fa-refresh w3-spin" style="font-size:64px"></i>
    </p>
    </body>
    </html> 
    

    Output:-

    Example of loading of ajax icon, FindNerd

 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: