Fluid Grid 12
How do I make an fluid grid 12?
A simple responsive fluid grid system spanning twelve column sizes created with LESS. What is a fluid grid 12? How do you make a fluid grid 12? This script and codes were developed by Alex Oliver on 16 September 2022, Friday.
Fluid Grid 12 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fluid Grid 12</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="fluid"> <div class="content"> <!-- 1 col --> <div class="span span12"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <!-- 2 cols --> <div class="span span6"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span6"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <!-- 3 cols --> <div class="span span4"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span4"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span4"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <!-- 4 cols --> <div class="span span3"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span3"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span3"> <div class="content"> <p>Lorem ipsum</p> </div> </div> <div class="span span3"> <div class="content"> <p>Lorem ipsum</p> </div> </div> </div>
</div>
<!-- clear them floats -->
<div class="clearfix"></div>
</body>
</html>
Fluid Grid 12 - Script Codes CSS Codes
/* setup */
body { padding: 20px;
}
p { margin: 0px; padding: 10px; background-color: #eeeeee;
}
/* fluid grid 12 */
.span1 { width: 8.33%;
}
.span2 { width: 16.66%;
}
.span3 { width: 25.00%;
}
.span4 { width: 33.33%;
}
.span5 { width: 41.67%;
}
.span6 { width: 50.00%;
}
.span7 { width: 58.33%;
}
.span8 { width: 66.67%;
}
.span9 { width: 75.00%;
}
.span10 { width: 83.33%;
}
.span11 { width: 91.67%;
}
.span12 { width: 100%;
}
.content { padding: 20px; display: block;
}
.fluid .span { float: left;
}
.fluid .span .content { padding: 0px 0px 10px 10px;
}
.fluid > .content { padding: 20px 0px 10px 10px;
}
.clearfix { clear: both;
}
/* media queries */
@media screen and (max-width: 960px) { .wrap { width: 100%; }
}
@media screen and (max-width: 600px) { .fluid .span { display: block; float: none; width: 100%; }
}
Developer | Alex Oliver |
Username | alexoliverwd |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,309 Kb |
Views | 34,408 |
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 |
Side to Slide | 3,368 Kb |
Expanding search field | 2,697 Kb |
Calendar | 2,989 Kb |
Fluid Grid 12 | 2,309 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 |
React Recipe Box | Krokodill | 5,347 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Bubble animation | Ftabor | 6,565 Kb |
A simple log in form made with css | Mayurelbhar | 2,160 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Flat buttons for Eliassen.com | Kdooley89 | 1,737 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
Sexy Social Buttons | Ipiyale | 2,226 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!