Soft Progress bar

Developer
Size
3,431 Kb
Views
14,168

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 Previews

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);
});
Soft Progress bar - Script Codes
Soft Progress bar - Script Codes
Home Page Home
Developer James Podles
Username jpod
Uploaded November 23, 2022
Rating 4
Size 3,431 Kb
Views 14,168
Do you need developer help for Soft Progress bar?

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!

James Podles (jpod) Script Codes
Create amazing marketing copy with AI!

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!