Skip to content

responsive grid#19

Open
paaragon wants to merge 4 commits into1000ch:mainfrom
paaragon:master
Open

responsive grid#19
paaragon wants to merge 4 commits into1000ch:mainfrom
paaragon:master

Conversation

@paaragon
Copy link

Hi,

I modify this css to add responsive features. If you like them, here they are.

The way to use it is to add a prefix to the classes (-sm, -md, -lg, -xl) and it would only apply from that size.

@paaragon
Copy link
Author

paaragon commented Jun 7, 2022

Hi, it's been a while since the pr ¿do you consider to include it? feel free to close if you don't like it or comment the changes you would want 😊

@1000ch
Copy link
Owner

1000ch commented Jun 12, 2022

@paaragon thank you for your idea, but it seems to be slightly redundant, is there any better way to implement it?

@calvinmorett
Copy link

calvinmorett commented Jun 30, 2023

I've been using a single media query to set Cells, to full-width. It will make problems on more complex layouts (such as grids within grids), but it works for simple setups.

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 550px) {
    .Cell {
        width: 100%!important;
        display: block!important;
    }
}

Example:
https://github.com/1000ch/grd/assets/11654917/4c51a7df-5b0a-4ff8-8c57-038275dc8412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants