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 |
Expanding search field | 2,697 Kb |
Side to Slide | 3,368 Kb |
Calendar | 2,989 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 |
Sitemap generator for Sharepoint | Gyusza | 2,518 Kb |
Practice using Wixel | Emnk | 3,057 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
Header | Er40 | 1,542 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Shopping cart | Andiio | 6,581 Kb |
Wrap_Test | Mscfourn | 7,503 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!