DEV Community

Cover image for Flexbox grid

Posted on

Flexbox grid

Hi people :)
I'am sorry, my English is bad..
This is my first post on
Please don't throw stones at me :)

I had a task to make a CSS grid.

Alt Text

Of course you can do it on css grid and I did it on them.
But I can't find easy ways! :)
And so I made it on flexbox..

Alt Text

I also needed to implement margins in it "margin: 1px".
To calculate the indents, I used the css function "clamp()".

Here's what came of it
What do you think about this?

Top comments (0)