Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@iamroot I used it to make the items within the rows. The row itself has max width and height calculated with calc(100%/no of rows)
-
@TheAnimatrix try this
https://jsfiddle.net/kordarei/...
it does the same thing but you might find it easier -
@KorDarei yeah I know I just wanted a non grid like approach for learnings sake, CSS grid was one of the first things the internet taught me when I keyed in responsive design but thanks for the effort anyway !
-
You could do this fully responsive even without flexbox or css-grid.
It would need just some basic understanding of inline-block, absolute positioning and translations. 😄
Flexbox & CSS Grid are still a PITA if you have to support IE11... -
Good job! Combining flexbox with grid gives you really easily customisable responsive layouts, btw.
-
@PonySlaystation I only did this to learn a different way of centering, I'm not implying I don't know other basic ones.
Anyways yeah transforms would be easier and lol I'm gonna show a 418 page to ie users so idc. Lazyness all the way. -
Update: I think I've forgotten everything I learnt about css after 6 months of having no work dealing with it.
Related Rants
Little victories in css
rant
css
mastered
yay
centering