Mondrian Flexbox
How do I make an mondrian flexbox?
What is a mondrian flexbox? How do you make a mondrian flexbox? This script and codes were developed by SNÖGRAFX on 26 August 2022, Friday.
Mondrian Flexbox - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mondrian Flexbox</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="one-storey-50 storey-row"> <div class='one-storey-50-item storey-panel'> <p>Storey<p> <img src='http://placehold.it/750x500' /> </div> <div class='one-storey-50-item storey-panel'><img src='http://placehold.it/750x500' /></div>
</div>
<div class="one-storey-33 storey-row"> <div class='one-storey-33-item storey-panel'><img src='http://placehold.it/1000x500' /></div> <div class='one-storey-33-item storey-panel'><img src='http://placehold.it/500x500' /></div>
</div>
<div class="one-storey-66 storey-row"> <div class='one-storey-66-item storey-panel'><img src='http://placehold.it/500x500' /></div> <div class='one-storey-66-item storey-panel'><img src='http://placehold.it/1000x500' /></div>
</div>
</body>
</html>
Mondrian Flexbox - Script Codes CSS Codes
* { box-sizing: border-box; }
.one-storey-50 { margin: 0 auto; background: purple; display: flex; flex-flow: row wrap; justify-content: space-between; max-width: 1500;
}
.one-storey-50 div { position: relative; font-size: 0; margin: 0; flex: 0 0 50%;
}
.storey-panel:nth-child(1) { background: maroon; background-image:url('http://rachelmankowitz.files.wordpress.com/2014/04/raccoon-face.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid;
}
.storey-panel:nth-child(2) { background: blue; background-image:url('http://doowansnewsandevents.files.wordpress.com/2013/06/raccoon-mayham.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid; border-left: none;
}
.one-storey-66 { margin: 0 auto; background: teal; display: flex; flex-flow: row wrap; justify-content: space-between; max-width: 1500;
}
.one-storey-66 div { position: relative; font-size: 0;
}
.one-storey-66 div:nth-child(1) { flex: 0 0 34%; background: lime; background-image:url('http://www.walpapershddownload.com/wp-content/uploads/2014/02/raccoon-wallpapers-5.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid; border-top: none;
}
.one-storey-66 div:nth-child(2) { flex: 0 0 66%; background: cyan; background-image:url('http://www.listofimages.com/wp-content/uploads/2012/07/raccoon-tongue-animals.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid; border-left: none; border-top: none;
}
.one-storey-33 { margin: 0 auto; background: maroon; display: flex; flex-flow: row wrap; justify-content: space-between; max-width: 1500;
}
.one-storey-33 div { position: relative; font-size: 0;
}
.one-storey-33 div:nth-child(1) { flex: 0 0 66%; background: gold; background-image:url('http://2.bp.blogspot.com/-M3MXZnzveJk/UTKCMACkBlI/AAAAAAAAF4I/N37Ac32fcUE/s1600/IMG_5242.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid; border-top: none;
}
.one-storey-33 div:nth-child(2) { flex: 0 0 34%; background: green; background-image:url('http://rumpydog.files.wordpress.com/2013/08/raccoon_1_wp.jpg'); background-repeat:no-repeat; background-size:cover; border: black 10px solid; border-left: none; border-top: none;
}
.storey-panel img { width: 100%; margin-left: -99000px;
}
@media screen and (max-width: 660px) { .storey-panel { flex: 0 0 100% !important; } .storey-panel:nth-child(1){ border: black 10px solid !important; border-top: none !important; } .storey-panel:nth-child(2){ border: black 10px solid !important; border-top: none !important; } .one-storey-50 div:nth-child(1) { border-top: black 10px solid !important; }
}
Developer | SNÖGRAFX |
Username | snografx |
Uploaded | August 26, 2022 |
Rating | 3 |
Size | 2,229 Kb |
Views | 36,432 |
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 |
Simple content swap | 1,859 Kb |
Huzzo spinner | 1,748 Kb |
Clickable back element | 1,517 Kb |
CityPlanner Logo Loading Animation 2017 | 2,589 Kb |
CSS Navigation buttons | 2,460 Kb |
CityPlanner SVG POI bubble | 2,884 Kb |
Layer spin | 2,485 Kb |
Basic parallax | 2,269 Kb |
Google-style CSS options button | 2,293 Kb |
Hide on inactivity | 2,082 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 |
Sass random color animation | Jotavejv | 4,827 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
Faux column absolute wrapper | Yurimorini | 1,823 Kb |
Boxes | H3l1um | 2,563 Kb |
Awesome | Samarthpd | 2,901 Kb |
CSS3 Fullscreen Background Slideshow | Leetech | 3,435 Kb |
Slides-07-1 POSITION | Exhtml | 1,909 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
Pure CSS Dial | Lukewatts | 3,018 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!