Flexbox Split Screen
How do I make an flexbox split screen?
First installment in the Flexbox Adventure Series where we look into making and explaining how to use flexbox when you are coding your next website.. What is a flexbox split screen? How do you make a flexbox split screen? This script and codes were developed by Juwan Petty on 12 October 2022, Wednesday.
Flexbox Split Screen - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flexbox Split Screen</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="header"> <h1>Flexbox Split Screen</h1>
</div>
<div class="container"> <div id="split_left" class="parent"> <div class="child">Left Content</div> </div> <div id="split_right" class="parent"> <div class="child">Right Content</div> </div>
</div>
</body>
</html>
Flexbox Split Screen - Script Codes CSS Codes
@import url('https://fonts.googleapis.com/css?family=Rubik');
* {-webkit-transition: 250ms;transition: 250ms;}
body { font-family: 'Rubik', sans-serif; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
}
.header { margin: 50px 0;
}
.container { border: 5px solid #5856D6; border-radius: 5px; padding: 20px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.parent { border: 5px solid #4CD964; border-radius: 5px; padding: 20px; margin: 0 20px; display: -webkit-box; display: -ms-flexbox; display: flex;
}
.child { border-radius: 5px; padding: 50px; margin: 5px; background: #007AFF; color: white; text-align: center; font-weight: 600; font-size: 75%;
}
Developer | Juwan Petty |
Username | juwanpetty |
Uploaded | October 12, 2022 |
Rating | 3 |
Size | 1,934 Kb |
Views | 24,288 |
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 Background on Scroll | 1,246 Kb |
Simple Navigation Bar | 2,589 Kb |
Toggle Buttton | 2,227 Kb |
Udacity Button Style | 2,186 Kb |
Animated Random Phrase | 2,662 Kb |
Flexbox Card Layout | 2,351 Kb |
A Fun Little Button | 2,388 Kb |
Subtle Parallax on Entrance | 1,245 Kb |
A CSS Menu Toggle using jQuery | 2,716 Kb |
A Pen by Juwan Petty | 4,097 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 |
CSS Infinite 360 | APinix | 5,564 Kb |
Price Comparison Table | Orrinward | 3,459 Kb |
Shape Outside - Polygon | Stacy | 3,954 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
Awesome Full Page Menu Nav | Ey_intuitive | 4,194 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 Kb |
Ocean | Gordonnl | 2,817 Kb |
CSS-Flexbox-Demo | Sstiglets | 1,709 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 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!