4 ms·
Not completely sure if that was serious or sarcastic, but in case that was a real question: The main reason for using a grid is to make sure elements on your pa
by sgdesign 13y ago
Not completely sure if that was serious or sarcastic, but in case that was a real question: The main reason for using a grid is to make sure elements on your page stay aligned vertically and equally distributed horizontally.
If you use separate margins and paddings for each element, there's a bigger risk that you'll mess up and introduce irregularities in the layout.
Of course, maybe you don't want elements to be aligned on your page. In that case, yes, you might not need a grid.
- hiphopyo 13y agoCan't you just put those elements in a <div> and manipulate that instead?
- sgdesign 13y agoI'm not sure what you think CSS grids are, but you should probably read up a little more on them…
- hiphopyo 13y agoI take it they're preconfigured divs that clutter up your code and that are trying to solve a problem that doesn't really exist given the basic nature of CSS. If you absolutely need a grid, what about http://hashgrid.com/ http://hashgrid.com/?
- hiphopyo 13y agoCould you explain the downvote?
- Kudos 13y agoI didn't downvote, but your tone is all wrong. You sound like a know it all, while also not making a strong argument against grids.
- hiphopyo 13y agoI'll take that with a grain of salt. For stronger arguments, see my other posts.
- Kudos 13y agoI read all of your posts, you come off as an asshole in many of them, particularly: > So basically it's for people not too familiar with HTML and CSS? Ie. like a WordPress theme?
- hiphopyo 13y agoI think you misread. I was not being sarcastic, just trying to understand why Bootstrap is so popular.
- deleted 13y ago[deleted]