IPad Mock
How do I make an ipad mock?
What is a ipad mock? How do you make a ipad mock? This script and codes were developed by Zachary Olson on 10 November 2022, Thursday.
IPad Mock - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>iPad Mock</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="ipad ipad-horiz"> <i class="ipad-camera" ></i> <div class="ipad-screen"> <div class="ipad-content"></div> </div> <i class="ipad-btn" ></i>
</div>
<div class="ipad ipad-vert"> <i class="ipad-camera" ></i> <div class="ipad-screen"> <div class="ipad-content"></div> </div> <i class="ipad-btn" ></i>
</div>
</body>
</html>
IPad Mock - Script Codes CSS Codes
.ipad-content { background-position: top center; background-size: cover; background-color: purple;
}
.ipad { position: relative; margin: 0 auto; background-color: #FFF; border-radius: 4px; border: 1px solid rgba(204, 204, 204, 0.5); box-shadow: 0 2px 2px #CCC;
}
.ipad:before, .ipad:after { display: block; content: '';
}
.ipad:after { width: 1px; }
.ipad-horiz:after { padding-top: 70%; }
.ipad-vert:after { padding-top: 140%; }
.ipad:before { position: absolute; z-index: 2; width: 100%; height: 100%;
}
.ipad-horiz { width: 80%;
}
.ipad-horiz:before { background: linear-gradient(30deg, rgba(204, 204, 204, 0) 0%,rgba(204, 204, 204, 0) 55%,rgba(204, 204, 204, 0.2) 56%,rgba(204, 204, 204, 0) 100%)
}
.ipad-vert { width: 60%;
}
.ipad-vert:before { background: linear-gradient(58deg, rgba(204, 204, 204, 0) 0%,rgba(204, 204, 204, 0) 65%,rgba(204, 204, 204, 0.2) 66%,rgba(204, 204, 204, 0) 100%);
}
.ipad-camera, .ipad-btn { display: block; border-radius: 50%;
}
.ipad-vert .ipad-camera, .ipad-vert .ipad-btn { margin-right: auto; margin-left: auto;
}
.ipad-camera { background-color: #000; width: 1%; padding-top: 1%;
}
.ipad-horiz .ipad-camera { position: absolute; top: 49%; left: 2%;
}
.ipad-vert .ipad-camera { margin-top: 3%;
}
.ipad-btn { background-color: #EEE; }
.ipad-vert .ipad-btn { position: absolute; top: 93%; right: 47%; width: 6%; padding-top: 6%;
}
.ipad-horiz .ipad-btn { position: absolute; width: 4%; padding-top: 4%; top: 48%; right: 0; margin-right: 3%;
}
.ipad-screen { background-color: #222; border-radius: 2px; border: 1px solid #CCC;
}
.ipad-vert .ipad-screen { width: 90%; height: 83%; margin: 0 auto; padding-top: 2%; position: absolute; top: 5%; left: 5%;
}
.ipad-horiz .ipad-screen { width: 83%; height: 90%; padding-left: 2%; position: absolute; top: 5%; left: 5%;
}
.ipad-content { height: 100%;
}
.ipad-vert .ipad-content { border-radius: 0 0 2px 2px;
}
.ipad-horiz .ipad-content { border-radius: 0 2px 2px 0;
}
/* Codepen styling - ignore */
body { padding-top: 5%; background-color: #F1E0FF;
}
.ipad-vert { margin-top: 5%; }

Developer | Zachary Olson |
Username | zacharyolson |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 2,008 Kb |
Views | 12,138 |
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 |
Css version of macbook dribbble | 2,919 Kb |
A Pen by Zachary Olson | 1,163 Kb |
Border Radius Bouncer | 2,415 Kb |
Convert JSON to ruby hash | 2,000 Kb |
Blackberry Mock | 1,865 Kb |
D3 version of animated chart dribbble | 4,327 Kb |
IMac Mock | 2,046 Kb |
Nerdventure Feed | 4,817 Kb |
Hovers with popups | 2,380 Kb |
Scroll Position Indicators | 5,711 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 |
Sign Up Form | Sicontis | 5,272 Kb |
Nice textured background | Hans | 2,659 Kb |
Pure CSS Torch Light | Juliendargelos | 2,727 Kb |
Simple, flat contact form | Zeaklous | 2,719 Kb |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Sort the Knowlege | Eprouver | 3,915 Kb |
Clock Face Idea | Chrisburnell | 3,196 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
HEXAGON | Aurumlux | 1,684 Kb |
Donut Chart example - MorrisJS | Capelo | 2,385 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!