Fluid Layout with Float
How do I make an fluid layout with float?
What is a fluid layout with float? How do you make a fluid layout with float? This script and codes were developed by Jemma Riedel on 20 September 2022, Tuesday.
Fluid Layout with Float - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fluid Layout with Float</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> <main>
<header> <h1>A Site</h1>
</header> <article> <section class="col1"><h2>1</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi esse voluptatem error omnis rerum distinctio dolore repellendus quas atque, molestias delectus saepe tempore perspiciatis provident dolorem? Natus sit, quia aliquid.</p> </section> <section class="col2"><h2>2</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi esse voluptatem error omnis rerum distinctio dolore repellendus quas atque, molestias delectus saepe tempore perspiciatis provident dolorem? Natus sit, quia aliquid.</p> </section> <section class="col3"><h2>3</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi esse voluptatem error omnis rerum distinctio dolore repellendus quas atque, molestias delectus saepe tempore perspiciatis provident dolorem? Natus sit, quia aliquid.</p> </section> </article> <footer> <p>© 2016</p> </footer>
</main>
</body>
</html>
Fluid Layout with Float - Script Codes CSS Codes
main{ background: cornflowerblue; width: 90%; margin: 0 auto;
}
section{ float: left; padding: 2%;
}
.col1{ background: slategrey; margin-right: 1%; width: 22%;
}
.col2{ background: pink; width: 22%; margin-left: 1%; margin-right: 1%;
}
.col3{ background: green; width: 40%; margin-left: 1%;
}
footer{ clear: both;
}
Developer | Jemma Riedel |
Username | jxqr97 |
Uploaded | September 20, 2022 |
Rating | 3 |
Size | 1,785 Kb |
Views | 16,192 |
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 |
Jemma Riedel | 4,786 Kb |
Fixed Layout with Float | 1,850 Kb |
CodePen Embed | 1,389 Kb |
Section B | 1,530 Kb |
Banner ads | 1,717 Kb |
Section A | 1,525 Kb |
Bio | 3,143 Kb |
Portfolio | 3,604 Kb |
Portfolio 2.0 attempt | 3,639 Kb |
RWD Conversion Practice | 2,743 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 |
Twitch | SarahDunlap | 2,937 Kb |
Gulpfile | Aimhigherwebdesign-amy | 1,765 Kb |
Sort the Knowlege | Eprouver | 3,915 Kb |
Material Design-Layout-Principles Practice | Fraina | 2,331 Kb |
Social.svg.min | Larsenwork | 13,849 Kb |
We Simplify animation | Meodai | 48,169 Kb |
Border-radius animation | Yukulele | 2,480 Kb |
Two tables and header with jspdf-autotable | Someatoms | 2,245 Kb |
Nice textured background | Hans | 2,659 Kb |
Scroll to view if element partially out of view port height | ChrisMaki | 2,104 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!