Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

jp-knj/GridMan

Repository files navigation

GridMan

""

ใงใใ‚‹ใ“ใจ

ๅทฆใฎ็”ป้ขใงๆœ€ๅฐๅน…ใ‚„ Gap ๅน…ใ‚’ๆ“ไฝœใงใใ€ BreakPoint ใฎ่ฟฝๅŠ ใ‚„่กŒใฎๆ•ฐใ‚’ๆŒ‡ๅฎšใงใใพใ™ใ€‚ ๅณใฎ็”ป้ขใง Items ใฎๆœ€ๅฐใฎๅน…ใ‚„ๅ„ Item ใฎ่กŒใ‚„ๅˆ—ใฎ Gap ๅน…ใ‚’่ชฟ็ฏ€ใ‚’็ขบ่ชใงใใพใ™ใ€‚

ๅ…ฅๅŠ›ใ‚’็ขบ่ชใ—ใŸใ‚‰ใ€ใœใฒ SCSS ใฎใ‚ณใƒผใƒ‰ใ‚’ใ‚’็”Ÿๆˆใ—ใ‚ˆใ†๏ผใƒœใ‚ฟใƒณใ‚’ๆŠผไธ‹ใ—ใฆใใ ใ•ใ„

SCSS ใฎใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹

Web ๅˆถไฝœใงๅ†ๅˆฉ็”จใŒๅฏ่ƒฝใ€Sass ใฎใƒŸใƒƒใ‚ฏใ‚นใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ•ใ‚Œใพใ™

ใƒ•ใ‚ฉใƒซใƒ€ๆง‹ๆˆ

ใƒชใƒใ‚ธใƒˆใƒชTOP
โ”œโ”€โ”€ README.md .. ็›ฎๆฌกใ‚’ๆ›ธใ
โ”œโ”€โ”€ img .. ๅˆถไฝœ็‰ฉใฎใ‚คใƒกใƒผใ‚ธ
โ”‚   โ””โ”€โ”€ screen.png
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ js
โ”‚   โ”œโ”€โ”€ main.js .. ใชใ‚“ใ‹ๅ‹•ใ„ใŸใ‚ณใƒผใƒ‰
โ”‚   โ””โ”€โ”€ main2.js .. ใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆๅฟ—ๅ‘ใ‚’ๆ„่ญ˜ใ—ใฆๆ›ธใ„ใŸใ‚ณใƒผใƒ‰
โ””โ”€โ”€ styles
    โ”œโ”€โ”€ libs
    โ”‚   โ”œโ”€โ”€ _animation.scss
    โ”‚   โ”œโ”€โ”€ _base.scss
    โ”‚   โ””โ”€โ”€ _modal.scss
    โ”œโ”€โ”€ main.css
    โ”œโ”€โ”€ main.css.map
    โ”œโ”€โ”€ main.scss
    โ””โ”€โ”€ vendors
        โ””โ”€โ”€ reset.scss

What it can do

CSS Grid minmax function is used to dynamically make a responsive layout with a specificed item width. On the left side, you can control the minimum width and spacing between grid items.

Then, you can edit or add Flexbox breakpoints. Once that is done, click on CSS ใฎใ‚ณใƒผใƒ‰ใ‚’ใ‚’็”Ÿๆˆใ—ใ‚ˆใ†๏ผ to get the ready to use Sass code.

Generated Code

The code generated is a Sass mixin that can be reused in your project.

Suggestions

Do you have a comment or suggestion?