Welcome screen using flexbox and viewport units
How do I make an welcome screen using flexbox and viewport units?
What is a welcome screen using flexbox and viewport units? How do you make a welcome screen using flexbox and viewport units? This script and codes were developed by Drew McConville on 31 August 2022, Wednesday.
Welcome screen using flexbox and viewport units - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Welcome screen using flexbox and viewport units</title> <script src="https://use.typekit.net/xnd4ssj.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<meta name="viewport" content="width=device-width, initial-scale=1"> <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="flex-container"> <section id="welcome"> <h1>Fun with the modern CSS layout.</h1> </section>
</div>
</body>
</html>
Welcome screen using flexbox and viewport units - Script Codes CSS Codes
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 20px;
}
#welcome { margin: 10vh; background-color: #eaeaea; border: 1px solid #ececec; height: 80vh; border-radius: 10px; background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/78060/istock-car.jpg"); background-repeat: no-repeat; background-size: 45vw; background-position: 100% 50%; position: relative;
}
h1 { font-family: "futura-pt"; position: absolute; font-weight: 800; font-size: 6vw; width: 40%; margin: 0; line-height: 1; top: 50%; color: #333; left: 5%; -webkit-transform: translate(0, -55%); transform: translate(0, -55%);
}
p { margin: 0;
}
Developer | Drew McConville |
Username | drew_mc |
Uploaded | August 31, 2022 |
Rating | 3 |
Size | 2,404 Kb |
Views | 28,336 |
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 |
SVG Sprite - Credit Card Icons | 4,848 Kb |
Baseball TV Scorebox | 7,270 Kb |
Basic Hidden Form | 3,467 Kb |
Input modification feedback | 4,097 Kb |
Attempt to mimic push start on vehicle | 3,967 Kb |
Burger Style Navigation Button | 4,172 Kb |
Avg Donation Firework Effect for Bernie 2016 project | 5,818 Kb |
Box Shadow Evolution | 1,911 Kb |
Simple blog concept | 2,666 Kb |
Dynamic Box Shadow | 2,407 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 |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
DFF Website | Hawcubite | 10,123 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Sort the Knowlege | Eprouver | 3,915 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
Right Click Menu | Anodpixels | 2,252 Kb |
Adding Items | Valhead | 4,008 Kb |
A Pen by Jim Savage | Madebyjam | 2,418 Kb |
Project -Show the Local Weather | Luciano_Britis | 2,583 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!