Template - iPhone 5 - Vertical
How do I make an template - iphone 5 - vertical?
What is a template - iphone 5 - vertical? How do you make a template - iphone 5 - vertical? This script and codes were developed by Juan Gallardo on 18 August 2022, Thursday.
Template - iPhone 5 - Vertical - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Template - iPhone 5 - Vertical</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="outside"> <div class="containerIphone5"> <div class="innerIphone5"> <div class="wrapper"> </div> <!--/ .wrapper --> </div> <!--/ .inneriPhone --> </div> <!--/ .containerIphone -->
</div> <!--/ .outside -->
</body>
</html>
Template - iPhone 5 - Vertical - Script Codes CSS Codes
/* resets */
body { margin:0; padding:0; }
/* outer container */
.outside{ background: #e5e5e5; height: 100%; width: 100%; position: fixed; top: 0; left: 0; z-index: -10;
}
/*
# change width to 793px (total size of the image container) when testing
# background-size rule can be removed
# iPhone 5 display resolution is 1136 x 640 retina
# http://www.idev101.com/code/User_Interface/sizes.html
*/
.containerIphone5{ background-image:url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/101702/iphone-5.png'); background-size: 396px 883px; background-color: transparent; width: 396px; height: 883px; margin: auto; position:absolute; top:0; left:0;bottom:0; right:0;
}
/*
# modify if you want to test scrolling
*/
.innerIphone5{ background-color: #fff; width: 320px; height: 568px; /* - 20px for status */ height: 548px; margin: auto; position:absolute; top:-56px; /* needs improvement */ left:0;bottom:0; right:0;
}
/* Add your work here */
.wrapper {}
Developer | Juan Gallardo |
Username | JGallardo |
Uploaded | August 18, 2022 |
Rating | 3 |
Size | 1,919 Kb |
Views | 42,504 |
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 |
Travel Location Select | 2,218 Kb |
BruxZir - Testimonial Section | 169,941 Kb |
Testimonial - Concept 1 | 1,880 Kb |
BruxZir - Home Page -3 | 2,170 Kb |
Foundation - Sample Header | 1,825 Kb |
Blog Concept 2 | 2,994 Kb |
Plane Blog - Masonry Demo | 5,347 Kb |
A Pen by Juan Gallardo | 1,823 Kb |
BruxZir - Homepage - Video concept | 3,039 Kb |
BruxZir - Tablet - Home Page | 3,414 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 |
GLSL Hills | Ykob | 6,991 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Review test | Otro_user_gil | 4,054 Kb |
Flat buttons for Eliassen.com | Kdooley89 | 1,737 Kb |
Pure CSS Menu | Bronsrobin | 3,321 Kb |
CSS3 Selectables with information rollover | Jasonmayes | 9,565 Kb |
Degree Picker | Idered | 4,307 Kb |
Simple Accordion | Wearebold | 3,683 Kb |
Client-side Email Validation | Collizo4sky | 1,538 Kb |
Awesome textarea | Ayoungh | 1,977 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!