107 lines
4.0 KiB
HTML
107 lines
4.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="no-js">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Fullscreen Form Interface</title>
|
|
<meta name="description" content="Fullscreen Form Interface: A distraction-free form concept with fancy animations" />
|
|
<meta name="keywords" content="fullscreen form, css animations, distraction-free, web design" />
|
|
<meta name="author" content="Codrops" />
|
|
<link rel="shortcut icon" href="../favicon.ico">
|
|
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/component.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/cs-select.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/cs-skin-boxes.css" />
|
|
<script src="js/modernizr.custom.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
|
|
<!-- <div class="fs-form-wrap" id="fs-form-wrap">
|
|
<form id="myform" class="fs-form fs-form-full" autocomplete="off">
|
|
<ol class="fs-fields">
|
|
<li>
|
|
<label class="fs-field-label fs-anim-upper" for="q1">Enter FLO data</label>
|
|
<input class="fs-anim-lower" id="q1" name="q1" type="text" placeholder="Send 50 rmt#" required/>
|
|
</li>
|
|
</ol>
|
|
<button class="fs-submit" type="submit">Send answers</button>
|
|
</form>
|
|
</div>-->
|
|
|
|
<!-- Related demos -->
|
|
<!-- <div class="related">
|
|
<p>If you enjoyed this demo you might also like:</p>
|
|
<a href="http://tympanus.net/Development/MinimalForm/">
|
|
<img src="img/relatedposts/minimalform1-300x162.png" />
|
|
<h3>Minimal Form Interface</h3>
|
|
</a>
|
|
<a href="http://tympanus.net/Development/ButtonComponentMorph/">
|
|
<img src="img/relatedposts/MorphingButtons-300x162.png" />
|
|
<h3>Morphing Buttons Concept</h3>
|
|
</a>
|
|
</div>-->
|
|
|
|
<div id="myform" class="fs-form fs-form-overview fs-show">
|
|
<ol class="fs-fields">
|
|
<li>
|
|
<label class="fs-field-label fs-anim-upper" for="q1">FLO data</label>
|
|
<input class="fs-anim-lower" id="q1" name="q1" type="text" value="Send 50 rmt#" required/>
|
|
</li>
|
|
<li>
|
|
<label class="fs-field-label fs-anim-upper" for="q2">Type</label>
|
|
<input class="fs-anim-lower" id="q2" name="q2" type="text" value="Transfer" required/>
|
|
</li>
|
|
<li>
|
|
<label class="fs-field-label fs-anim-upper" for="q3">Identification</label>
|
|
<input class="fs-anim-lower" id="q3" name="q3" type="text" value="rmt#" required/>
|
|
</li>
|
|
<li>
|
|
<label class="fs-field-label fs-anim-upper" for="q4">Amount</label>
|
|
<input class="fs-anim-lower" id="q4" name="q4" type="text" value="50000" required/>
|
|
</li>
|
|
</ol>
|
|
<button class="fs-submit" type="submit">Go Back</button>
|
|
</div>
|
|
|
|
<!-- Related demos -->
|
|
<!-- <div class="related">
|
|
<p>If you enjoyed this demo you might also like:</p>
|
|
<a href="http://tympanus.net/Development/MinimalForm/">
|
|
<img src="img/relatedposts/minimalform1-300x162.png" />
|
|
<h3>Minimal Form Interface</h3>
|
|
</a>
|
|
<a href="http://tympanus.net/Development/ButtonComponentMorph/">
|
|
<img src="img/relatedposts/MorphingButtons-300x162.png" />
|
|
<h3>Morphing Buttons Concept</h3>
|
|
</a>
|
|
</div>-->
|
|
|
|
</div><!-- /container -->
|
|
<script src="js/classie.js"></script>
|
|
<script src="js/selectFx.js"></script>
|
|
<script src="js/fullscreenForm.js"></script>
|
|
<script>
|
|
(function() {
|
|
var formWrap = document.getElementById( 'fs-form-wrap' );
|
|
|
|
[].slice.call( document.querySelectorAll( 'select.cs-select' ) ).forEach( function(el) {
|
|
new SelectFx( el, {
|
|
stickyPlaceholder: false,
|
|
onChange: function(val){
|
|
document.querySelector('span.cs-placeholder').style.backgroundColor = val;
|
|
}
|
|
});
|
|
} );
|
|
|
|
new FForm( formWrap, {
|
|
onReview : function() {
|
|
classie.add( document.body, 'overview' ); // for demo purposes only
|
|
}
|
|
} );
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html> |