cobiwave /
simplefolio
⚡️ A minimal portfolio template for Developers
96/100 healthLoading repository data…
unmaya / repository
A simple CSS grid for building and prototyping modern websites. Its flexible, semantic and responsive.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A CSS toolkit and layout helper built with Sass, ideal for screen layouts and grids of all shapes and sizes. But why you ask? "There are a bazillion of these..". Because I wanted to use a fractional system, something lean and focused - A tool that doesn't have to generate any extra css unless I asked. Its really handy for HTML prototypes because its small, fast and it easily integrates with other extensions.
Girder is designed for building with Sass, a fantastic pre-processor. It makes it easy to quickly make flexible layouts using fractions as viewport sections. It uses silent classes (placeholders) to structure your grid content which also keeps your Markup free of excess presentational (often meaningless) classes like "unit_1of4", "small-2", "grid4". View some examples
Sample Code: You can use classes to target elements or use the cascade to build any type of layout:
<main class="container">
<article>
<p>The main column covers two thirds of the page.</p>
</article>
<aside>
<p>This sidebar covers one third of the page.</p>
</aside>
</main>
The Sass for this example could look like this:
// Adjust unit spacing in pixels, em or rem (optional)
$gutters: 1.25em;
// Containers can be fluid, fixed, centered or whatever (optional)
$container-max-width: 1322px;
// Include the main Girder partial
@import girder;
.container {
@include baseline-grid;
article {
@include unit(two-thirds);
}
aside {
@include unit(third);
background: #ddd;
}
article li {
@include unit(fourth);
@include media-query($medium-breakpoint) {
@include responsive-unit(half); // easily change layouts based on screen size
}
}
}
Girder is compatible with Node-Sass or Ruby-Sass. You can use it without Sass also (plain css) but you'd be missing some useful tools.
Include girder.css in your project.
Use the layout classes in your HTML to infinitely nest and splice content on your app as needed.
Copy the Sass folder from this Repo. Or download the source and example files. You only need two things, the main settings file and the modules folder (everything else is optional):
Include the Girder scss file:
// Customize settings here or directly inside _girder.scss (optional)
@import girder;
// Follow with your base styles
npm install node-sass
b. Alternatively to install the gem: sudo gem install sass// Units go as small as a sixth of the width of any container. Mix and match as needed
@extend %row; // A wrapper for mixing and nesting unit groups
@include unit(three-fourths); // Three quarters of a page (inc. gutters by default)
@include unit(third, false); // A Third of any container (add 'false' to remove gutters)
.sixth-box {
@include unit(sixth);
@include media-query($large-screens) {
@include responsive-unit(third);
}http://unmaya.github.io/Girder/
}
To use plain CSS you just add the classes to the markup like this Example page:
<!-- Be sure to include the girder.css file in your document -->
<main class="content row">
<article class="unit two-thirds"> My main column covers two thirds of the page. </article>
<aside class="unit third"> This sidebar content occupies one third of the page. </aside>
<footer class="clear">Awesome footer</footer>
</main>
Some familiar options: Wrap multi-column rows with a .row class or use @extend %row to do it silently. Nest rows and mix grid units to achieve your desired results. You can remove gutters, push units, add media queries or use any number of plugins for Sass. Check the example, inspect, poke and download the source to see exactly how it works.
Sometimes I write about using Sass and CSS layout tools like Girder on this dev journal.
Girder is tiny but it can scale based on your project's needs. You can easily include it alongside a whole host of Sass extensions. Here's an example:
$use-breakpoint: true;
@import "girder_modules/addon_breakpoint";
Open Source Under MIT license.
Selected from shared topics, language and repository description—not editorial ratings.
cobiwave /
⚡️ A minimal portfolio template for Developers
96/100 healthAnilSeervi /
A Modern Portfolio Template for Developers with easy setup process documented(with hosting).
85/100 healthmarianzburlea /
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages.
conedevelopment /
A simple documentation template made with Eleventy and Spruce CSS.
71/100 healthchrisrhymes /
A simple scss package extending Bulma with block style list elements
51/100 healthFreshVine /
A Simple set of Payment Method SVG vector icons emebeded in a CSS class. Also SASS for easy customization.
63/100 health