Soft Progress bar
How do I make an soft progress bar?
Inspired by this Dribbble shot:https://dribbble.com/shots/1641788-simple-soft?list=searches&tag=web&offset=34. What is a soft progress bar? How do you make a soft progress bar? This script and codes were developed by James Podles on 23 November 2022, Wednesday.
Soft Progress bar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Soft Progress bar</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { background-color: #F1F6FA;
}
.progress { border: 2px solid #99D5F2; width: 80%; height: 15px; position: absolute; border-radius: 15px; margin: auto; top: 0; left: 0; right: 0; bottom: 0;
}
.bar { background: -moz-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -o-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -webkit-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #daeff8 0%), color-stop(1, #9dd7f2 100%)); filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#daeff8 0%, EndColorStr=#9dd7f2 100%)"; background: linear-gradient(left, #daeff8 0%, #9dd7f2 100%); display: inline-block; height: 100%; border-radius: 15px; float: left; position: relative;
}
.bubble { border: 1px solid #99D5F2; width: 25px; display: block; height: 25px; position: absolute; right: -10px; margin-top: -45px; border-radius: 5px; padding: 5px;
}
i { font-size: 28px;
}
.fa-clock-o { color: #8BD1F0;
}
.fa-check-circle { color: #B7E885;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="progress">
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Soft Progress bar - Script Codes CSS Codes
body { background-color: #F1F6FA;
}
.progress { border: 2px solid #99D5F2; width: 80%; height: 15px; position: absolute; border-radius: 15px; margin: auto; top: 0; left: 0; right: 0; bottom: 0;
}
.bar { background: -moz-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -o-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -webkit-linear-gradient(left, #daeff8 0%, #9dd7f2 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #daeff8 0%), color-stop(1, #9dd7f2 100%)); filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#daeff8 0%, EndColorStr=#9dd7f2 100%)"; background: linear-gradient(left, #daeff8 0%, #9dd7f2 100%); display: inline-block; height: 100%; border-radius: 15px; float: left; position: relative;
}
.bubble { border: 1px solid #99D5F2; width: 25px; display: block; height: 25px; position: absolute; right: -10px; margin-top: -45px; border-radius: 5px; padding: 5px;
}
i { font-size: 28px;
}
.fa-clock-o { color: #8BD1F0;
}
.fa-check-circle { color: #B7E885;
}
Soft Progress bar - Script Codes JS Codes
$(document).ready(function(){ var i = 0;
function addBar () { var bar = $('<span class="bar"></span>'); bar.appendTo('.progress').animate({'width':'25%'}, 1000, function(){ if (i === 3) { $(this).append('<span class="bubble"><i class="fa fa-check-circle"></span>'); } else { $(this).append('<span class="bubble"><i class="fa fa-clock-o"></span>'); } i++; });
}
window.setInterval(function(){ if (i < 3) { addBar(); console.log(i); }
}, 1000);
});
Developer | James Podles |
Username | jpod |
Uploaded | November 23, 2022 |
Rating | 4 |
Size | 3,431 Kb |
Views | 14,168 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Movie Marathon Calculator | 5,766 Kb |
PracticeIO Circle Fan Menu | 2,272 Kb |
CSS Bot Confusion | 3,456 Kb |
Adaptive Text Color | 2,874 Kb |
Soundcloud music player | 4,275 Kb |
Stack of Cards | 2,633 Kb |
Flyer-flip | 3,641 Kb |
The Safe of Mystery | 4,010 Kb |
A Pen by James Podles | 2,656 Kb |
PracticeIO Click Counter | 4,019 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
SVG email test v2.0 | M_J_Robbins | 2,090 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Animated SVG stroke-dasharray | Netsi1964 | 3,179 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
SVG Transform vs CSS Transform | AmeliaBR | 4,175 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Nested table email layout | Massimo-cassandro | 2,355 Kb |
Table border-collapse property | Maxds | 1,672 Kb |
Multiple jCarousel | Pafnuty | 2,461 Kb |
Update CSS Variables with JS | Wesbos | 2,335 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!