Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <style>
- #myProgress {
- width: 100%;
- background-color: #ddd;
- }
- #myBar {
- width: 80%;
- height: 30px;
- background-color: #4CAF50;
- }
- #label {
- text-align: center;
- line-height: 30px;
- color: white;
- }
- </style>
- <body>
- <h1>JavaScript Progress Bar</h1>
- <div id="myProgress">
- <div id="myBar">
- <div id="label">80%</div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement