Fluid Grid 12

Developer
Size
2,309 Kb
Views
34,408

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 Previews

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%; }
}
Fluid Grid 12 - Script Codes
Fluid Grid 12 - Script Codes
Home Page Home
Developer Alex Oliver
Username alexoliverwd
Uploaded September 16, 2022
Rating 3
Size 2,309 Kb
Views 34,408
Do you need developer help for Fluid Grid 12?

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!

Alex Oliver (alexoliverwd) Script Codes
Name
Expanding search field
Side to Slide
Calendar
Create amazing Facebook ads 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!