├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── css ├── grid.css ├── prism.css └── styles.css ├── fav ├── apple-touch-icon.png ├── favicon-16x16.png ├── favicon-32x32.png └── favicon.ico ├── grid.scss.zip ├── index.html ├── js ├── general.js └── prism.js ├── prepros-6.config └── scss └── grid.scss /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Mac crap 2 | .DS_Store 3 | 4 | # Misc 5 | *.log 6 | 7 | # Prepros 8 | prepros.cfg 9 | prepros-6.config 10 | 11 | 12 | # Source files 13 | index.pug 14 | scss/styles.scss -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Pawel Laptew 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # tiny-flexbox-grid-system 2 | 3 | ### [Demo here](https://pavellaptev.github.io/tiny-flexbox-grid-system) 4 | -------------------------------------------------------------------------------- /css/grid.css: -------------------------------------------------------------------------------- 1 | .grid { 2 | -webkit-box-sizing: border-box; 3 | box-sizing: border-box; 4 | display: -webkit-box; 5 | display: -ms-flexbox; 6 | display: flex; 7 | margin-left: auto; 8 | margin-right: auto; 9 | -ms-flex-wrap: wrap; 10 | flex-wrap: wrap; 11 | max-width: 1400px; 12 | width: 88.57143%; } 13 | @media screen and (max-width: 1020px) { 14 | .grid { 15 | width: 88.23529%; } } 16 | @media screen and (max-width: 620px) { 17 | .grid { 18 | width: 89.67742%; } } 19 | .grid-0 { 20 | -webkit-box-sizing: border-box; 21 | box-sizing: border-box; 22 | display: -webkit-box; 23 | display: -ms-flexbox; 24 | display: flex; 25 | margin-left: auto; 26 | margin-right: auto; 27 | -ms-flex-wrap: wrap; 28 | flex-wrap: wrap; 29 | max-width: 1400px; 30 | width: 100%; } 31 | 32 | .col-desk-0 { 33 | -webkit-box-sizing: border-box; 34 | box-sizing: border-box; 35 | width: 0%; 36 | padding-left: 1.6129%; 37 | padding-right: 1.6129%; } 38 | 39 | .col-desk-shift-0 { 40 | margin-left: 0%; } 41 | 42 | .col-desk-1 { 43 | -webkit-box-sizing: border-box; 44 | box-sizing: border-box; 45 | width: 8.33333%; 46 | padding-left: 1.6129%; 47 | padding-right: 1.6129%; } 48 | 49 | .col-desk-shift-1 { 50 | margin-left: 8.33333%; } 51 | 52 | .col-desk-2 { 53 | -webkit-box-sizing: border-box; 54 | box-sizing: border-box; 55 | width: 16.66667%; 56 | padding-left: 1.6129%; 57 | padding-right: 1.6129%; } 58 | 59 | .col-desk-shift-2 { 60 | margin-left: 16.66667%; } 61 | 62 | .col-desk-3 { 63 | -webkit-box-sizing: border-box; 64 | box-sizing: border-box; 65 | width: 25%; 66 | padding-left: 1.6129%; 67 | padding-right: 1.6129%; } 68 | 69 | .col-desk-shift-3 { 70 | margin-left: 25%; } 71 | 72 | .col-desk-4 { 73 | -webkit-box-sizing: border-box; 74 | box-sizing: border-box; 75 | width: 33.33333%; 76 | padding-left: 1.6129%; 77 | padding-right: 1.6129%; } 78 | 79 | .col-desk-shift-4 { 80 | margin-left: 33.33333%; } 81 | 82 | .col-desk-5 { 83 | -webkit-box-sizing: border-box; 84 | box-sizing: border-box; 85 | width: 41.66667%; 86 | padding-left: 1.6129%; 87 | padding-right: 1.6129%; } 88 | 89 | .col-desk-shift-5 { 90 | margin-left: 41.66667%; } 91 | 92 | .col-desk-6 { 93 | -webkit-box-sizing: border-box; 94 | box-sizing: border-box; 95 | width: 50%; 96 | padding-left: 1.6129%; 97 | padding-right: 1.6129%; } 98 | 99 | .col-desk-shift-6 { 100 | margin-left: 50%; } 101 | 102 | .col-desk-7 { 103 | -webkit-box-sizing: border-box; 104 | box-sizing: border-box; 105 | width: 58.33333%; 106 | padding-left: 1.6129%; 107 | padding-right: 1.6129%; } 108 | 109 | .col-desk-shift-7 { 110 | margin-left: 58.33333%; } 111 | 112 | .col-desk-8 { 113 | -webkit-box-sizing: border-box; 114 | box-sizing: border-box; 115 | width: 66.66667%; 116 | padding-left: 1.6129%; 117 | padding-right: 1.6129%; } 118 | 119 | .col-desk-shift-8 { 120 | margin-left: 66.66667%; } 121 | 122 | .col-desk-9 { 123 | -webkit-box-sizing: border-box; 124 | box-sizing: border-box; 125 | width: 75%; 126 | padding-left: 1.6129%; 127 | padding-right: 1.6129%; } 128 | 129 | .col-desk-shift-9 { 130 | margin-left: 75%; } 131 | 132 | .col-desk-10 { 133 | -webkit-box-sizing: border-box; 134 | box-sizing: border-box; 135 | width: 83.33333%; 136 | padding-left: 1.6129%; 137 | padding-right: 1.6129%; } 138 | 139 | .col-desk-shift-10 { 140 | margin-left: 83.33333%; } 141 | 142 | .col-desk-11 { 143 | -webkit-box-sizing: border-box; 144 | box-sizing: border-box; 145 | width: 91.66667%; 146 | padding-left: 1.6129%; 147 | padding-right: 1.6129%; } 148 | 149 | .col-desk-shift-11 { 150 | margin-left: 91.66667%; } 151 | 152 | .col-desk-12 { 153 | -webkit-box-sizing: border-box; 154 | box-sizing: border-box; 155 | width: 100%; 156 | padding-left: 1.6129%; 157 | padding-right: 1.6129%; } 158 | 159 | .col-desk-shift-12 { 160 | margin-left: 100%; } 161 | 162 | @media screen and (max-width: 1020px) { 163 | .col-tab-0 { 164 | -webkit-box-sizing: border-box; 165 | box-sizing: border-box; 166 | width: 0%; 167 | padding-left: 1.66667%; 168 | padding-right: 1.66667%; } 169 | .col-tab-shift-0 { 170 | margin-left: 0%; } 171 | .col-tab-1 { 172 | -webkit-box-sizing: border-box; 173 | box-sizing: border-box; 174 | width: 8.33333%; 175 | padding-left: 1.66667%; 176 | padding-right: 1.66667%; } 177 | .col-tab-shift-1 { 178 | margin-left: 8.33333%; } 179 | .col-tab-2 { 180 | -webkit-box-sizing: border-box; 181 | box-sizing: border-box; 182 | width: 16.66667%; 183 | padding-left: 1.66667%; 184 | padding-right: 1.66667%; } 185 | .col-tab-shift-2 { 186 | margin-left: 16.66667%; } 187 | .col-tab-3 { 188 | -webkit-box-sizing: border-box; 189 | box-sizing: border-box; 190 | width: 25%; 191 | padding-left: 1.66667%; 192 | padding-right: 1.66667%; } 193 | .col-tab-shift-3 { 194 | margin-left: 25%; } 195 | .col-tab-4 { 196 | -webkit-box-sizing: border-box; 197 | box-sizing: border-box; 198 | width: 33.33333%; 199 | padding-left: 1.66667%; 200 | padding-right: 1.66667%; } 201 | .col-tab-shift-4 { 202 | margin-left: 33.33333%; } 203 | .col-tab-5 { 204 | -webkit-box-sizing: border-box; 205 | box-sizing: border-box; 206 | width: 41.66667%; 207 | padding-left: 1.66667%; 208 | padding-right: 1.66667%; } 209 | .col-tab-shift-5 { 210 | margin-left: 41.66667%; } 211 | .col-tab-6 { 212 | -webkit-box-sizing: border-box; 213 | box-sizing: border-box; 214 | width: 50%; 215 | padding-left: 1.66667%; 216 | padding-right: 1.66667%; } 217 | .col-tab-shift-6 { 218 | margin-left: 50%; } 219 | .col-tab-7 { 220 | -webkit-box-sizing: border-box; 221 | box-sizing: border-box; 222 | width: 58.33333%; 223 | padding-left: 1.66667%; 224 | padding-right: 1.66667%; } 225 | .col-tab-shift-7 { 226 | margin-left: 58.33333%; } 227 | .col-tab-8 { 228 | -webkit-box-sizing: border-box; 229 | box-sizing: border-box; 230 | width: 66.66667%; 231 | padding-left: 1.66667%; 232 | padding-right: 1.66667%; } 233 | .col-tab-shift-8 { 234 | margin-left: 66.66667%; } 235 | .col-tab-9 { 236 | -webkit-box-sizing: border-box; 237 | box-sizing: border-box; 238 | width: 75%; 239 | padding-left: 1.66667%; 240 | padding-right: 1.66667%; } 241 | .col-tab-shift-9 { 242 | margin-left: 75%; } 243 | .col-tab-10 { 244 | -webkit-box-sizing: border-box; 245 | box-sizing: border-box; 246 | width: 83.33333%; 247 | padding-left: 1.66667%; 248 | padding-right: 1.66667%; } 249 | .col-tab-shift-10 { 250 | margin-left: 83.33333%; } 251 | .col-tab-11 { 252 | -webkit-box-sizing: border-box; 253 | box-sizing: border-box; 254 | width: 91.66667%; 255 | padding-left: 1.66667%; 256 | padding-right: 1.66667%; } 257 | .col-tab-shift-11 { 258 | margin-left: 91.66667%; } 259 | .col-tab-12 { 260 | -webkit-box-sizing: border-box; 261 | box-sizing: border-box; 262 | width: 100%; 263 | padding-left: 1.66667%; 264 | padding-right: 1.66667%; } 265 | .col-tab-shift-12 { 266 | margin-left: 100%; } } 267 | 268 | @media screen and (max-width: 620px) { 269 | .col-mob-0 { 270 | -webkit-box-sizing: border-box; 271 | box-sizing: border-box; 272 | width: 0%; 273 | padding-left: 1.79856%; 274 | padding-right: 1.79856%; } 275 | .col-mob-shift-0 { 276 | margin-left: 0%; } 277 | .col-mob-1 { 278 | -webkit-box-sizing: border-box; 279 | box-sizing: border-box; 280 | width: 25%; 281 | padding-left: 1.79856%; 282 | padding-right: 1.79856%; } 283 | .col-mob-shift-1 { 284 | margin-left: 25%; } 285 | .col-mob-2 { 286 | -webkit-box-sizing: border-box; 287 | box-sizing: border-box; 288 | width: 50%; 289 | padding-left: 1.79856%; 290 | padding-right: 1.79856%; } 291 | .col-mob-shift-2 { 292 | margin-left: 50%; } 293 | .col-mob-3 { 294 | -webkit-box-sizing: border-box; 295 | box-sizing: border-box; 296 | width: 75%; 297 | padding-left: 1.79856%; 298 | padding-right: 1.79856%; } 299 | .col-mob-shift-3 { 300 | margin-left: 75%; } 301 | .col-mob-4 { 302 | -webkit-box-sizing: border-box; 303 | box-sizing: border-box; 304 | width: 100%; 305 | padding-left: 1.79856%; 306 | padding-right: 1.79856%; } 307 | .col-mob-shift-4 { 308 | margin-left: 100%; } } 309 | -------------------------------------------------------------------------------- /css/prism.css: -------------------------------------------------------------------------------- 1 | /* PrismJS 1.16.0 2 | https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript */ 3 | /** 4 | * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML 5 | * Based on https://github.com/chriskempson/tomorrow-theme 6 | * @author Rose Pritchard 7 | */ 8 | 9 | code[class*="language-"], 10 | pre[class*="language-"] { 11 | border-radius: 8px; 12 | color: #ccc; 13 | background: none; 14 | font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; 15 | font-size: 1em; 16 | text-align: left; 17 | white-space: pre; 18 | word-spacing: normal; 19 | word-break: normal; 20 | word-wrap: normal; 21 | line-height: 1.5; 22 | 23 | -moz-tab-size: 4; 24 | -o-tab-size: 4; 25 | tab-size: 4; 26 | 27 | -webkit-hyphens: none; 28 | -moz-hyphens: none; 29 | -ms-hyphens: none; 30 | hyphens: none; 31 | } 32 | 33 | /* Code blocks */ 34 | pre[class*="language-"] { 35 | padding: 1.5em 1.5em 2em; 36 | margin: 0.5em 0; 37 | overflow: auto; 38 | } 39 | 40 | :not(pre) > code[class*="language-"], 41 | pre[class*="language-"] { 42 | background: #2d2d2d; 43 | } 44 | 45 | /* Inline code */ 46 | :not(pre) > code[class*="language-"] { 47 | padding: 0.1em; 48 | border-radius: 0.3em; 49 | white-space: normal; 50 | } 51 | 52 | .token.comment, 53 | .token.block-comment, 54 | .token.prolog, 55 | .token.doctype, 56 | .token.cdata { 57 | color: #999; 58 | } 59 | 60 | .token.punctuation { 61 | color: #ccc; 62 | } 63 | 64 | .token.tag, 65 | .token.attr-name, 66 | .token.namespace, 67 | .token.deleted { 68 | color: #e2777a; 69 | } 70 | 71 | .token.function-name { 72 | color: #6196cc; 73 | } 74 | 75 | .token.boolean, 76 | .token.number, 77 | .token.function { 78 | color: #f08d49; 79 | } 80 | 81 | .token.property, 82 | .token.class-name, 83 | .token.constant, 84 | .token.symbol { 85 | color: #f8c555; 86 | } 87 | 88 | .token.selector, 89 | .token.important, 90 | .token.atrule, 91 | .token.keyword, 92 | .token.builtin { 93 | color: #cc99cd; 94 | } 95 | 96 | .token.string, 97 | .token.char, 98 | .token.attr-value, 99 | .token.regex, 100 | .token.variable { 101 | color: #7ec699; 102 | } 103 | 104 | .token.operator, 105 | .token.entity, 106 | .token.url { 107 | color: #67cdcc; 108 | } 109 | 110 | .token.important, 111 | .token.bold { 112 | font-weight: bold; 113 | } 114 | .token.italic { 115 | font-style: italic; 116 | } 117 | 118 | .token.entity { 119 | cursor: help; 120 | } 121 | 122 | .token.inserted { 123 | color: green; 124 | } 125 | -------------------------------------------------------------------------------- /css/styles.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css?family=Roboto+Mono:400,500,700&display=swap"); 2 | * { 3 | -webkit-box-sizing: border-box; 4 | box-sizing: border-box; } 5 | 6 | ::-moz-selection { 7 | background: #b444ff; } 8 | 9 | ::selection { 10 | background: #b444ff; } 11 | 12 | html { 13 | font-size: 16px; } 14 | 15 | body { 16 | font-family: "Roboto Mono", monospace; } 17 | 18 | p { 19 | max-width: 640px; 20 | margin-bottom: 2rem; } 21 | 22 | .header { 23 | margin-top: 2rem; 24 | margin-bottom: 3rem; } 25 | .header__title { 26 | text-transform: uppercase; 27 | font-weight: 700; 28 | word-wrap: break-word; 29 | margin-top: 1rem; 30 | margin-bottom: 1rem; } 31 | .header__title h1 { 32 | margin: 1rem 0; } 33 | .header__menu { 34 | display: -webkit-box; 35 | display: -ms-flexbox; 36 | display: flex; 37 | -webkit-box-orient: vertical; 38 | -webkit-box-direction: normal; 39 | -ms-flex-direction: column; 40 | flex-direction: column; 41 | -webkit-box-pack: end; 42 | -ms-flex-pack: end; 43 | justify-content: flex-end; 44 | -webkit-box-align: end; 45 | -ms-flex-align: end; 46 | align-items: flex-end; } 47 | @media screen and (max-width: 1020px) { 48 | .header__menu { 49 | -webkit-box-align: start; 50 | -ms-flex-align: start; 51 | align-items: flex-start; } } 52 | .header__menu__item { 53 | display: -webkit-box; 54 | display: -ms-flexbox; 55 | display: flex; 56 | margin: 2rem 0 2rem; 57 | padding: 0; 58 | list-style-type: none; } 59 | .header__menu__item li { 60 | margin-right: 28px; } 61 | .header__menu__item li:last-child { 62 | margin-right: 0; } 63 | .header__menu__item li a { 64 | color: black; 65 | text-transform: uppercase; 66 | -webkit-transition: all 0.16s ease; 67 | -o-transition: all 0.16s ease; 68 | transition: all 0.16s ease; } 69 | .header__menu__item li a:hover { 70 | color: #f45; } 71 | 72 | .g-c { 73 | height: 112px; } 74 | 75 | .about-section { 76 | margin-top: 3rem; 77 | margin-bottom: 3rem; } 78 | .about-section h1 { 79 | text-transform: uppercase; 80 | font-weight: 500; 81 | margin-bottom: 24px; } 82 | .about-section__option { 83 | margin-bottom: 20px; } 84 | .about-section__option h3 { 85 | padding-right: 16px; 86 | margin-bottom: 24px; } 87 | .about-section__option p { 88 | padding-right: 16px; 89 | font-size: 0.9rem; 90 | line-height: 160%; } 91 | 92 | .switcher-wrap { 93 | display: -webkit-box; 94 | display: -ms-flexbox; 95 | display: flex; 96 | -webkit-box-align: center; 97 | -ms-flex-align: center; 98 | align-items: center; 99 | margin-bottom: 1rem; } 100 | .switcher-wrap__text { 101 | margin-right: 16px; 102 | font-size: 16px; 103 | text-transform: uppercase; 104 | opacity: 0.4; } 105 | 106 | .switcher { 107 | cursor: pointer; 108 | position: relative; 109 | width: 70px; 110 | border-radius: 100px; 111 | border: 3px solid #ff4343; 112 | display: -webkit-box; 113 | display: -ms-flexbox; 114 | display: flex; 115 | padding: 4px; 116 | -webkit-transition: all 0.16s ease; 117 | -o-transition: all 0.16s ease; 118 | transition: all 0.16s ease; } 119 | .switcher_on { 120 | border: 3px solid #00d181; } 121 | .switcher:hover { 122 | background: rgba(255, 230, 0, 0.3); } 123 | .switcher__thumb { 124 | width: 18px; 125 | height: 18px; 126 | background: #333; 127 | border-radius: 100px; 128 | -webkit-transition: all 0.16s ease; 129 | -o-transition: all 0.16s ease; 130 | transition: all 0.16s ease; } 131 | .switcher__thumb_on { 132 | -webkit-transform: translateX(38px); 133 | -ms-transform: translateX(38px); 134 | transform: translateX(38px); } 135 | 136 | .html-preview { 137 | margin-bottom: 2rem; 138 | border-radius: 8px; 139 | display: none; } 140 | 141 | .inline-code { 142 | background: #333; 143 | padding: 0.6rem 1rem !important; } 144 | 145 | .footer { 146 | padding-top: 2rem; 147 | padding-bottom: 2rem; } 148 | .footer p { 149 | max-width: 100%; 150 | text-align: right; 151 | font-size: 14px; 152 | opacity: 0.7; } 153 | -------------------------------------------------------------------------------- /fav/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PavelLaptev/tiny-flexbox-grid-system/c505975a18afc1473846e6a014111d9e52f559a2/fav/apple-touch-icon.png -------------------------------------------------------------------------------- /fav/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PavelLaptev/tiny-flexbox-grid-system/c505975a18afc1473846e6a014111d9e52f559a2/fav/favicon-16x16.png -------------------------------------------------------------------------------- /fav/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PavelLaptev/tiny-flexbox-grid-system/c505975a18afc1473846e6a014111d9e52f559a2/fav/favicon-32x32.png -------------------------------------------------------------------------------- /fav/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PavelLaptev/tiny-flexbox-grid-system/c505975a18afc1473846e6a014111d9e52f559a2/fav/favicon.ico -------------------------------------------------------------------------------- /grid.scss.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PavelLaptev/tiny-flexbox-grid-system/c505975a18afc1473846e6a014111d9e52f559a2/grid.scss.zip -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |<div class="grid">
37 | <div class="col-desk-12 col-tab-4 col-mob-2"></div>
38 | <div class="col-desk-4 col-tab-5 col-mob-2"></div>
39 | <div class="col-desk-3 col-tab-3 col-mob-4"></div>
40 | <div class="col-desk-2 col-mob-2"></div>
41 | <div class="col-desk-3 col-mob-2"></div>
42 | <div class="col-desk-1 col-mob-2"></div>
43 | <div class="col-desk-4 col-desk-shift-1 col-tab-shift-0 col-tab-6 col-mob-2"></div>
44 | <div class="col-desk-4 col-mob-3"></div>
45 | <div class="col-desk-2 col-mob-1"></div>
46 | <div class="col-desk-1 col-mob-1"></div>
47 | <div class="col-desk-1 col-mob-3"></div>
48 | <div class="col-desk-1 col-mob-1"></div>
49 | <div class="col-desk-2 col-mob-1"></div>
50 | <div class="col-desk-2 col-desk-shift-1 col-tab-shift-0 col-tab-1 col-mob-1"></div>
51 | <div class="col-desk-1 col-tab-7 col-mob-1"></div>
52 | <div class="col-desk-3 col-tab-5 col-mob-4"></div>
53 | </div>
54 | Adjust any grid props, whatever you like from column size to gutters and columns amount.
111 |You don't need to thing about the grid or columns flexibility. Grid contains functions that automaticly will translate PX units into `%`.
115 |If you need to pass one or more columns, shift it, you can use a special class — for instance if you want to pass 2 columns `col-desk-shift-2`.
119 |There is two ways for nesting grids. The first option — you can use regular `grid` class for a wrapper and your wrapper will have side margins or you can ise `grid-0` class, this class has all props of the regular `grid` class but with 100% width without side margins.
123 |The grid has 3 breakpoints — for desktop, tablet and mobile. Because all props written as variables you can adjust or even add aditional.
127 |Download the grid.css and add it to your HTML.
<link rel="stylesheet" href="css/grid.css">
134 | There are three types of classes to controll your layout. Desktop breakpoint class="col-desk-12"
Tablet breakpoint class="col-tab-12"
Mobile breakpoint class="col-tab-4"
. By default max columnt amount for desktop and tablet is 12 and for mobile is 4, but you can change them in variables.
There are also three types of variables, for desktop, tablet and mobile breakpoint.
142 |$grid-columns: #px;
143 | $grid-sideMargin: #px;
144 | $grid-gutter: #px;
145 | $grid-breakpoint: #px;
146 |