Minimalist Mobile Mockup
How do I make an minimalist mobile mockup?
Very simple and minimalist mobile phone design in CSS to allow the showcase of mobile design. Feel free to fork this and use it on your mobile codepen projects.. What is a minimalist mobile mockup? How do you make a minimalist mobile mockup? This script and codes were developed by Mario Duarte on 04 August 2022, Thursday.
Minimalist Mobile Mockup - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Minimalist Mobile Mockup </title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="phone"> <div class="camera"></div> <div class="speaker"></div> <div class="screen"> <div class="inner"> <!-- your mobile layout here --> </div> </div> <div class="home-btn"></div> </div>
</div>
</body>
</html>
Minimalist Mobile Mockup - Script Codes CSS Codes
html,
body { margin: 0; padding: 0; background: #bdc3c7; background: -webkit-linear-gradient(-45deg, #bdc3c7 0%, white 50%, #eeeeee 100%); background: -webkit-linear-gradient(315deg, #bdc3c7 0%, white 50%, #eeeeee 100%); background: linear-gradient(135deg, #bdc3c7 0%, white 50%, #eeeeee 100%);
}
.wrapper { width: 100%; height: 100vh; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.wrapper .phone { width: 360px; height: 708px; border: 3px solid #bdc3c7; border-radius: 15px; box-sizing: border-box; position: relative; background-color: #EEEEEE;
}
.wrapper .phone .home-btn { width: 40px; height: 40px; border: 2px solid #bdc3c7; position: absolute; bottom: 15px; left: 160px; border-radius: 50%;
}
.wrapper .phone .camera { width: 10px; height: 10px; position: absolute; top: 25px; left: 150px; background-color: #555555; border-radius: 50%;
}
.wrapper .phone .speaker { width: 50px; height: 10px; position: absolute; top: 25px; left: 165px; background-color: #555555; border-radius: 10px;
}
.wrapper .phone .screen { width: 320px; height: 568px; background-color: #999999; position: absolute; top: 60px; left: 20px; border-radius: 3px; border: 2px solid #555555; box-sizing: border-box; cursor: pointer; overflow: hidden;
}
.wrapper .phone .screen .inner { width: 335px; height: 100%; position: absolute; top: 0; right: -15px; overflow-y: scroll; overflow-x: hidden;
}
Developer | Mario Duarte |
Username | MarioDesigns |
Uploaded | August 04, 2022 |
Rating | 3 |
Size | 2,748 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 |
Popular Pens with ReactJS | 5,327 Kb |
JavaScript Lesson - Todo list | 6,014 Kb |
Carbon Atom Animation | 5,507 Kb |
3D Cube - Pure CSS | 3,010 Kb |
Hamburger Menu Animation | 4,611 Kb |
Image Comparison Slider | 7,574 Kb |
Floating Animation - CSS | 3,090 Kb |
3D Loading Animation | 8,482 Kb |
Pure CSS circonferences | 4,471 Kb |
Floating Particles | 13,587 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 |
Elon Musk - Tribute Page - FreeCodeCamp | Yunnimun | 8,615 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Welcome | Nakome | 6,076 Kb |
Sketchy Box | Mnicpt | 3,033 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Blog demo to use given styling | Andygirl | 2,412 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
Pruebas de d3.js | Juanmanuelcarnerero | 2,485 Kb |
PNotify Demo | Adittmar | 1,731 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!