Just grid system

Developer
Size
2,399 Kb
Views
60,720

How do I make an just grid system?

Do not overthink grid systems, it is no point! Keep it simple! 4 mixins are enough to create whatever you want!. What is a just grid system? How do you make a just grid system? This script and codes were developed by Pawel Grzybek on 23 June 2022, Thursday.

Just grid system Previews

Just grid system - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Just grid system</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="column"> <p>Parent: @mixin row; This div: @mixin col(1/2);</p> <div class="gallery"> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> <div class="gallery__item"><p>Parent: @mixin row(true); This div: @mixin col(1/3);</p></div> </div> </div> <div class="column"> <p>Parent: @mixin row; This div: @mixin col(1/2);</p> </div>
</div>
</body>
</html>

Just grid system - Script Codes CSS Codes

/* Mega giga hardcore reset */
* { box-sizing: border-box; margin: 0; padding: 0;
}
/* Variables */
/* Grid */
/* Layout */
.wrapper { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto;
}
.wrapper:before, .wrapper:after { content: ''; display: table;
}
.wrapper:after { clear: both;
}
.column { float: left; width: 50%; padding-left: 0.5rem; padding-right: 0.5rem;
}
.gallery { margin-left: -0.5rem; margin-right: -0.5rem;
}
.gallery:before, .gallery:after { content: ''; display: table;
}
.gallery:after { clear: both;
}
.gallery__item { float: left; width: 33.33333%; padding-left: 0.5rem; padding-right: 0.5rem;
}
p { font-family: monospace; background: #ddd; margin-bottom: 1rem; padding: 1rem; font-size: 12px;
}
Just grid system - Script Codes
Just grid system - Script Codes
Home Page Home
Developer Pawel Grzybek
Username pawelgrzybek
Uploaded June 23, 2022
Rating 3
Size 2,399 Kb
Views 60,720
Do you need developer help for Just grid system?

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!

Pawel Grzybek (pawelgrzybek) Script Codes
Create amazing captions 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!