Expanding Form
How do I make an expanding form?
What is a expanding form? How do you make a expanding form? This script and codes were developed by Chris Evans on 27 December 2022, Tuesday.
Expanding Form - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Expanding Form</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<link href="https://fonts.googleapis.com/css?family=Open-Sans" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<div class="card form__wizard"> <section class="text--align-center form__step"> <h1>Expanding Form</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque tempor dictum massa sed imperdiet. Morbi pellentesque varius pulvinar. Donec pharetra nibh in arcu vestibulum semper eget id nulla.</p> <hr/> <label>What is a Monkey's favourite fruit?</label><br/> <select class="form__input"> <option>Orange</option> <option>Apple</option> <option>Banana</option> </select> </section> <section class="text--align-center form__step section--inverse"><i class="material-icons">cake</i><br/> <h1>and the brain of britain award goes to...</h1> </section>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Expanding Form - Script Codes CSS Codes
body { font-family: 'Open Sans', sans-serif; color: #333; background-color: #EFEFEF;
}
.card { width: 33.333%; left: 50%; transform: translatex(-50%); margin: 32px 0;
}
.card { position: absolute; display: block; background: #FFF; padding: 32px; transition: height 500ms ease; overflow: hidden;
}
.text--align-center { text-align: center;
}
section { padding: 32px 0;
}
.section--inverse { background: #FFC04D; margin: 32px -32px -32px -32px; padding: 32px;
}
h1 { font-weight: 300;
}
hr { margin: 32px; border: none; border-bottom: 1px solid #FFC04D; background: none; outline: none;
}
select { padding: 1em; border: none; border-bottom: 1px solid #afafaf; color: #333; cursor: pointer; font-family: 'Open Sans', sans-serif; font-size: 1em;
}
.material-icons { color: #FFF; font-size: 48px !important;
}
Expanding Form - Script Codes JS Codes
(function(undefined) { 'use strict'; var wizard = $('.form__wizard'); wizard.height(wizard.find('.form__step').first().outerHeight()); $('.form__input').change(function() { var h = 0, steps = wizard.find('.form__step'); for (var i = 0, l = steps.length; i < l; i++) { h = h + $(steps[i]).outerHeight(); } wizard.height(h); });
})();
Developer | Chris Evans |
Username | anitorious |
Uploaded | December 27, 2022 |
Rating | 3 |
Size | 3,462 Kb |
Views | 10,120 |
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 |
Searching for Answers | 4,761 Kb |
Single Field List Filter | 3,377 Kb |
A Forked Sky Full of Stars - Canvas Adaptation, Credit to JLNLJN | 3,297 Kb |
Profile Cards | 4,913 Kb |
Solar System | 3,883 Kb |
Button with Progress Indicator | 4,286 Kb |
Dashboard Module Management | 9,257 Kb |
Animated Button - Material | 3,190 Kb |
CSS Coupon | 2,434 Kb |
CSS Drawing - Life Ring | 2,476 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 |
Simple search using AngularJS | Haykou | 1,802 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
A Pen by Shidhin | Shidhincr | 5,015 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Light Switch | Bartuc | 4,933 Kb |
Draggables in pure angular | Rlo206 | 5,167 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
CSS Letter animations | Sladix | 2,116 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!