Form Progress

Developer
Size
3,767 Kb
Views
64,768

How do I make an form progress?

So I saw this awesome shot on Olga Subach's Dribbble. Thought it was pretty nice!. What is a form progress? How do you make a form progress? This script and codes were developed by Robin Brons on 16 September 2022, Friday.

Form Progress Previews

Form Progress - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Form Progress</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.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! */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
body { background-color: #e6e6e6; font-family: 'Open Sans', sans-serif;
}
#steps { width: 505px; margin: 50px auto;
}
.step { width: 40px; height: 40px; background-color: white; display: inline-block; border: 4px solid; border-color: transparent; border-radius: 50%; color: #cdd0da; font-weight: 600; text-align: center; line-height: 35px;
}
.step:first-child { line-height: 40px;
}
.step:nth-child(n+2) { margin: 0 0 0 100px; transform: translate(0, -4px);
}
.step:nth-child(n+2):before { width: 75px; height: 3px; display: block; background-color: white; transform: translate(-95px, 21px); content: '';
}
.step:after { width: 150px; display: block; transform: translate(-55px, 3px); color: #818698; content: attr(data-desc); font-weight: 400; font-size: 13px;
}
.step:first-child:after { transform: translate(-55px, -1px);
}
.step.active { border-color: #73b5e8; color: #73b5e8;
}
.step.active:before { background: linear-gradient(to right, #58bb58 0%, #73b5e8 100%);
}
.step.active:after { color: #73b5e8;
}
.step.done { background-color: #58bb58; border-color: #58bb58; color: white;
}
.step.done:before { background-color: #58bb58;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<div id="steps"> <div class="step" data-desc="Listing information">1</div> <div class="step" data-desc="Photos & Details">2</div> <div class="step active" data-desc="Review & Post">3</div> <div class="step" data-desc="Your order">4</div>
</div>
<!-- Try adding the active class to another 'step' to see what's going on :)
--> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Form Progress - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
body { background-color: #e6e6e6; font-family: 'Open Sans', sans-serif;
}
#steps { width: 505px; margin: 50px auto;
}
.step { width: 40px; height: 40px; background-color: white; display: inline-block; border: 4px solid; border-color: transparent; border-radius: 50%; color: #cdd0da; font-weight: 600; text-align: center; line-height: 35px;
}
.step:first-child { line-height: 40px;
}
.step:nth-child(n+2) { margin: 0 0 0 100px; transform: translate(0, -4px);
}
.step:nth-child(n+2):before { width: 75px; height: 3px; display: block; background-color: white; transform: translate(-95px, 21px); content: '';
}
.step:after { width: 150px; display: block; transform: translate(-55px, 3px); color: #818698; content: attr(data-desc); font-weight: 400; font-size: 13px;
}
.step:first-child:after { transform: translate(-55px, -1px);
}
.step.active { border-color: #73b5e8; color: #73b5e8;
}
.step.active:before { background: linear-gradient(to right, #58bb58 0%, #73b5e8 100%);
}
.step.active:after { color: #73b5e8;
}
.step.done { background-color: #58bb58; border-color: #58bb58; color: white;
}
.step.done:before { background-color: #58bb58;
}

Form Progress - Script Codes JS Codes

$(document).ready( function() { $('.step').each(function(index, element) { // element == this $(element).not('.active').addClass('done'); $('.done').html('<i class="icon-ok"></i>'); if($(this).is('.active')) { return false; } });
});
Form Progress - Script Codes
Form Progress - Script Codes
Home Page Home
Developer Robin Brons
Username bronsrobin
Uploaded September 16, 2022
Rating 4.5
Size 3,767 Kb
Views 64,768
Do you need developer help for Form Progress?

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!

Robin Brons (bronsrobin) Script Codes
Create amazing Facebook ads 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!