Flexbox
How do I make an flexbox?
What is a flexbox? How do you make a flexbox? This script and codes were developed by Kazu on 28 October 2022, Friday.
Flexbox - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flexbox</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <header class="page-header"><h1>Header</h1></header> <main class="page-content"> <nav class="content-navigation"><h1>Navigation</h1></nav> <article class="content-article"><h1>Main Content</h1></article> <aside class="content-sidebar"><h1>Sidebar</h1></aside> </main> <footer class="page-footer"><h1>Footer</h1></footer>
</body>
</body>
</html>
Flexbox - Script Codes CSS Codes
body { box-sizing: border-box; backgroud: #fff; color: #fff; font-size: 80%; padding: 1em; height: 100vh; display: flex; flex-direction: column; text-align: center;
}
header { background-color: pink;
}
nav { background-color: lime;
}
main { display: flex; height: 100%;
}
article { flex: 2 2 12em; order: -1; background-color: purple;
}
aside { background-color: skyblue;
}
footer { background-color: orange;
}
aside, nav { flex: 1;
}
@media only screen and ( max-width: 500px ) { main { flex-direction: column; }
}
Developer | Kazu |
Username | carmerano |
Uploaded | October 28, 2022 |
Rating | 3 |
Size | 1,688 Kb |
Views | 14,168 |
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 |
Responsive Table | 3,674 Kb |
3D shading with box shadow | 4,620 Kb |
ScrollMagic - FadeIn FadeOut | 2,731 Kb |
Audio Wave Preloader | 1,707 Kb |
Horizontal Drop Down Menu | 7,820 Kb |
Responsive Menu Button | 1,850 Kb |
A Pen by Kazu | 2,780 Kb |
Full screen layout 1-pizza | 1,947 Kb |
Rader Chart | 3,672 Kb |
Hover Effect Test | 2,380 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 |
See Through | Larrygeams | 77,410 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Twinkling Stars | Ripley6811 | 2,750 Kb |
FreeCodeCamp - Simon Game | Ivhed | 8,481 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
Background Images | Jooonebug | 2,100 Kb |
A Pen by utcwebdev | Utcwebdev | 2,856 Kb |
Elephants Full screen site | Orrinward | 3,981 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Snow collision | Wojtek1150 | 3,542 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!