Learn Flexbox

Developer
Size
2,738 Kb
Views
22,264

How do I make an learn flexbox?

What is a learn flexbox? How do you make a learn flexbox? This script and codes were developed by Huan Nghiem on 16 September 2022, Friday.

Learn Flexbox Previews

Learn Flexbox - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Learn Flexbox</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <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>
<body> <div class="container"> <header>header</header> <div class="middle"> <div class="main-container"> <article> </article> <article> </article> <article> </article> <article> </article> <article> </article> <article> </article> <article></article> <article></article> <article></article> <article></article> <article></article> <article></article> </div> <aside>aside</aside> </div> <footer>footer</footer> </div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Learn Flexbox - Script Codes CSS Codes

body, html { height: 100%;
}
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 100%;
}
.container *:not(.middle) { display: -webkit-box; display: -ms-flexbox; display: flex;
}
.middle { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 5; -ms-flex: 5 0 0; flex: 5 0 0;
}
article { min-height: 60px; border: 1px solid; background: blue; -webkit-box-flex: 1; -ms-flex: 1 0 0; flex: 1 0 0;
}
.main-container { overflow: auto; background: grey; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -webkit-box-flex: 3; -ms-flex: 3 0 0; flex: 3 0 0;
}
aside { background: tomato; -webkit-box-flex: 1; -ms-flex: 1 0 0; flex: 1 0 0;
}
header, footer { -webkit-box-flex: 1; -ms-flex: 1 0 0; flex: 1 0 0; background: green;
}

Learn Flexbox - Script Codes JS Codes

(function() { var div; div = $('<div class="item"></div>');
}).call(this);
Learn Flexbox - Script Codes
Learn Flexbox - Script Codes
Home Page Home
Developer Huan Nghiem
Username nightshade
Uploaded September 16, 2022
Rating 3
Size 2,738 Kb
Views 22,264
Do you need developer help for Learn Flexbox?

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!

Huan Nghiem (nightshade) Script Codes
Name
A Pen by Huan Nghiem
Patchnote
Fixed gear
Create amazing art & images with AI!

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!