Create HTML CSS Iphone 7 Mobile Layout With Facebook Login

Create Amazing IPhone 7 mobile layout with facebook login form using HTML && CSS language.

HTML, CSS is the most popular web languages for creating and designing web pages,  In this article, I will share with you another amazing  Iphon 7 mobile layout with facebook login form  I have already one article on HTML CSS iPhone Mobile Layout so you can also read my previous article. the mobile shape which we are creating in this article looks like real iPhone 7 mobile shape, but it's not the real image of iPhone mobile, using HTML && CSS you can create real object's both are very power pull languages you can create real objects with HTML && CSS language. Before creating iPhone 7 mobile layout first we need some important tools, so we need to download these tools first.

Important Tools: 

  1. HD quality image for the background.
  2. Font awesome library for facebook icon.  
downloading HD quality image you can visit pixabay website this website is a very popular website for HD quality images. so you can download high-quality images free of cost.
Second, you need to download font awesome icons library, so download from here font awesome and you can also use font awesome CDN. CDN is the better choice when your website is placed on a live server because it's load very fast. 
so let's get started first create an index.html page and copy the below code and paste in your index.html page.

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <title>Create Iphone7 With Facebook Login</title>
 <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
 <link rel="stylesheet" href="style.css">
</head>
<body>
 <div class="mobile">
 <p><i class="fa fa-facebook-official fa-2x"></i></p>
  <form action="">
 <div class="form-group">
 <input type="email" name="" class="email" placeholder="Enter Email">
 </div>
 <div class="form-group">
 <input type="password" name="" class="password" placeholder="Enter Password">
 </div>
 <div class="form-group">
 <input type="submit" name="" class="btn" value="LOG IN">
 </div>
 </form>
 <br>
 <p><a href="">Signup Up for facebook</a></p>
 <p><a href="">Forgot Password <i class="fa fa-question-circle"></i></a></p>
 </div>
</body>
</html>
now create style.css file and copy the below code and paste in your style.css file
body{
 background: url(pexels-photo-132957.jpeg);
 background-repeat: no-repeat;
 background-size: cover;

}
.mobile{
 float: right;
 margin: 20px 100px;
 width: 250px;
 height: 480px;
 border-top: 55px solid #fff;
 border-bottom: 55px solid #fff;
 border-right: 13px solid #fff;
 border-left: 13px solid #fff;
 -webkit-border-radius: 30px;
 -moz-border-radius: 30px;
 -ms-border-radius: 30px;
 -o-border-radius: 30px;
 border-radius: 30px;
 background: #3b5998;
 -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
 box-shadow: 0 0 10px rgba(0,0,0,0.5);
 position: relative;
 padding:20px 0px;
 box-sizing: border-box;
 text-align: center;
 color:#fff;
}
.mobile::before{
   position: absolute;
   content: "";
   left: 35%;
   top: -30px;
   width: 60px;
   height: 4px;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   -ms-border-radius: 10px;
   -o-border-radius: 10px;
   border-radius: 10px;
   background: #ccc;
}
.mobile::after{
 position: absolute;
 content: "";
 left: 40%;
 bottom: -45px;
 width: 35px;
 height: 35px;
 -webkit-border-radius: 100%;
 -moz-border-radius: 100%;
 -ms-border-radius: 100%;
 -o-border-radius: 100%;
 border-radius: 100%;
 border:2px outset #ccc;
}
.form-group{
 margin:15px 15px;
}
.email{
 background: #3b5998;
 border-bottom: 2px solid #5a70a1;
 border-top: 0px;
 border-left: 0px;
 border-right: 0px;
 color:#fff;
 width: 100%;
 height: 35px;
 -webkit-transition: 1s;
 -o-transition: 1s;
 transition: 1s;
}
.email:focus{
 border-bottom-color: #fff;
}
.password{
 background: #3b5998;
 border-bottom: 2px solid #5a70a1;
 border-top: 0px;
 border-left: 0px;
 border-right: 0px;
 color:#fff;
 width: 100%;
 height: 35px;
 -webkit-transition: 1s;
 -o-transition: 1s;
 transition: 1s;
}
.password:focus{
 border-bottom-color: #fff;
}
.btn{
 width: 100%;
 height: 35px;
 background: #5a70a1;
 color:#fff;
 border:0px;
 -webkit-border-radius: 0px;
 -moz-border-radius: 0px;
 -ms-border-radius: 0px;
 -o-border-radius: 0px;
 border-radius: 0px;
 font-weight: normal;
}
a{
 color:#fff;
 font-weight: normal;
 text-decoration: none;
}

Save your page in preview your page in the browser to see the output of your code.

COMMENTS

Name

bootstrap,1,CSS,6,Example,3,HTML,6,login,1,mysql,3,PHP,5,
ltr
item
webtipstricks: Create HTML CSS Iphone 7 Mobile Layout With Facebook Login
Create HTML CSS Iphone 7 Mobile Layout With Facebook Login
Create Amazing IPhone 7 mobile layout with facebook login form using HTML && CSS language.
https://2.bp.blogspot.com/-r_lAKfe441Q/Wc9-7isDOiI/AAAAAAAABYM/-7wX7EtoAwE0pD4aEy0EGb0lWjDtKsH8wCLcBGAs/s640/html%2Bcss%2Biphone%2Bmobile%2Blayout%2Bwith%2Bfacebook%2Blogin%2Bblog.jpg
https://2.bp.blogspot.com/-r_lAKfe441Q/Wc9-7isDOiI/AAAAAAAABYM/-7wX7EtoAwE0pD4aEy0EGb0lWjDtKsH8wCLcBGAs/s72-c/html%2Bcss%2Biphone%2Bmobile%2Blayout%2Bwith%2Bfacebook%2Blogin%2Bblog.jpg
webtipstricks
http://www.webtipstricks.com/2017/09/iphone-mobile-shape-with-facebook-login.html
http://www.webtipstricks.com/
http://www.webtipstricks.com/
http://www.webtipstricks.com/2017/09/iphone-mobile-shape-with-facebook-login.html
true
4027471107773963481
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy