how to create website loader? using HTML & CSS3 ??
CODE DETAILS:-
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Loader Example</title> | |
| <style> | |
| .loader{ | |
| border: 16px solid silver; | |
| border-top: 16px solid #337ab7; | |
| border-radius: 50%; | |
| height: 80px; | |
| width: 80px; | |
| animation: spin 1500ms linear infinite; | |
| } | |
| @keyframes spin{ | |
| 0%{ | |
| transform: rotate(0deg); | |
| } | |
| 100%{ | |
| transform: rotate(360deg); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h2>Page Loader Example</h2> | |
| <div class="loader"> | |
| </div> | |
| </body> | |
| </html> Video url:- How to add page loader using HTML & CSS3 animation in Nepali | Page loader in Website - YouTube |
