vladocar / 60gs Goto Github PK
View Code? Open in Web Editor NEW60GS - 60 Columns Grid System based on CSS Grid Layout
Home Page: https://vladocar.github.io/60gs/
License: MIT License
60GS - 60 Columns Grid System based on CSS Grid Layout
Home Page: https://vladocar.github.io/60gs/
License: MIT License
grid-gaps can't be wider than a single column!
If you have a nice gap-width of 10px and you still want to have for example a 2 column lay-out on mobile you're out of luck.
example A, your grid width is 960px (small desktop size):
width of a column (width gapwidth): 960 / 60 = 16;
width of column minus gapwidth: 16 - 10 = 6px;
60x6 + 60x10 = 960px
No problems here.
example B, your grid width is 360px (mobile size)
width of a column (width gapwidth): 360 / 60 = 6;
width of every column: 360/60 = 6px;
width of column minus gapwidth: 6 - 10 = -4px;
oops!
This is what happens:
the column can't be negative so it's set to 0px, so the total width of the grid now is:
60x0 + 60x10 = 600px
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.