First Time we are post Zurb Foundation 6 snippet. we are giving you login page design example with Foundation 6 framework. in this design we are giving you background animation effect. new and professional login page design with Zurb Foundation 6.
We allows to free snippets of foundation 6 form example , you can download full code of foundation 6 login form layout. Here in this post i will give you example of foundation 6 sign form snippet and you will get simple code of html, css and jquery. In single page login page design snippet i give you three tab with html, css and js, you can easily get code of foundation 6 forms layout.
<!doctype html>
<html class="no-js" lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title> Login Design Using Foundation Design </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="custom.css">
<link href="https://fonts.googleapis.com/css?family=Arima+Madurai" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/css/foundation.css">
<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
</head>
<body id="background">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="large-4 medium-6 small-12 cell callout form-section">
<div class="grid-x grid-padding-x">
<div class="large-12 medium-12 small-12 text-center header">
<h1> SIGN IN </h1>
</div>
<div class="large-12 columns cell">
<form>
<div class="grid-x grid-padding-x">
<div class="large-12 medium-12 cell">
<input type="text" placeholder="Enter Username">
</div>
<div class="large-12 medium-12 cell">
<input type="text" placeholder="Enter Password">
</div>
<div class="large-12 medium-12 cell">
<a class="button primary login-btn" href="#">Login</a>
</div>
<div class="grid-x grid-padding-x cell columns forget-section">
<div class="large-6 medium-6 small-12 cell text-center">
<input id="checkbox12" type="checkbox"><label for="checkbox12">Remeber Me</label>
</div>
<div class="large-6 medium-6 text-center small-12 text-right">
<a href="#">Forget your password?</a>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="grid-x grid-padding-x sign-section">
<div class="large-12 small-12 text-center last-text">
<span>Don't have an account ? <a href="#" class="large-12">Signup</a></span>
</div>
</div>
</div>
</div>
</div>
<div id="particles-js"></div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js"></script>
<script src="custom.js"></script>
</body>
</html>
body{
background-color: #000 !important;
}
#particles-js{
width: 100%;
height: 100%;
background-size: cover;
background-position: 50% 50%;
position: fixed;
top: 0px;
z-index:1;
}
.form-section{
background-color:#FCFCFC;
position: absolute;
left:50%;
right: 50%;
transform: translate(-50%,50%);
font-family: 'Arima Madurai', cursive !important;
z-index: 2;
}
.header h1{
font-size:22px;
color:#37363B;
margin-bottom:40px;
font-family: 'Arima Madurai', cursive !important;
}
.login-btn{
width: 100%;
}
.sign-section{
margin:15px 0px;
}
.login-section{
background-color: #000 !important;
}
@media (min-width:320px) and (max-width:640px){
.login-section{
width:80%;
}
}
@media (min-width:768px) and (max-width:1024px){
.login-section{
width:80%;
}
}
$.getScript("https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js", function(){
particlesJS('particles-js',
{
"particles": {
"number": {
"value": 80,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
"value": "#ffffff"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
},
"image": {
"width": 100,
"height": 100
}
},
"opacity": {
"value": 0.5,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 5,
"random": true,
"anim": {
"enable": false,
"speed": 40,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#ffffff",
"opacity": 0.4,
"width": 1
},
"move": {
"enable": true,
"speed": 6,
"direction": "none",
"random": false,
"straight": false,
"out_mode": "out",
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "repulse"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 400,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 400,
"size": 40,
"duration": 2,
"opacity": 8,
"speed": 3
},
"repulse": {
"distance": 200
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": true,
"config_demo": {
"hide_card": false,
"background_color": "#b61924",
"background_image": "",
"background_position": "50% 50%",
"background_repeat": "no-repeat",
"background_size": "cover"
}
}
);
});