Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
This may be a silly question, so my apologies in advance.
I'm designing a CSS grid for my website. The overall width of the grid is 1150px divided into 12 columns. But when it comes to the gutter width: It it best to use a small or big width? Or do you choose that depending on how you want your website to look/be styled?
Thanks for any help!
Gutter is a concept independent of CSS and it is related to a better legibility (easier to read).
There is no predefined rule about the width. Just set the whitespace between columns to some value that you want.
This value depends about what you looking for in your website (legibility, structure, design, information architecture ).
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I've read a few times that if you need to center an element vertically you can use flexbox. Is this really a good practice? Or is there a better way to do this without flexbox?
Flexbox is the latest and the most improved styling version and it. is an absolute yes to your. question . However it is not the only way , it is possible to use. . and margins and many more but Flexbox is by far the best way that could rather. be difficult to understand in the beginning . Reffer to this amazing. document which. even i still sometime go back to .
https://www.internetingishard.com/html-and-css/flexbox/
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have seen there are lots of workarounds to make Bootstrap to support 5 columns grid, but there isn't a proper explanation why it doesn't support 5 columns in the first place.
Instead of making things work I think it is important to know how the Bootstrap structure works. Does anyone have any idea?
it a simple logic bootstrap grid system equal to 12 column if we divide 12col to 5col so result 2.4 and bootstrap not provide to 2.4 col you have to make your own html or css or search on google i hope it help you
or try it
http://www.wearesicc.com/quick-tips-5-column-layout-with-twitter-bootstrap/
Simply because, Bootstrap follows a 12 column grid system. (and 12%5 !== 0)
You're free to use other grid systems:
here's a list.
Or create your own
If you want, you can have two 1 columns acting as margins, and then with the 10 left, you can have five 2 columns.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Given that CSS components (buttons etc.) can be used apart from Bootstrap grid system, what are the actual advantages of using Bootstrap over CSS flex model?
I am asking this questions as I always have big problems with margin/padding in Bootstrap 3 as few pixels (15px or so) are added, preventing me to take advantage of the full width of a container. Also, if I try to manually sent the margin to 0 the whole layout is displaced (including outer containers)
One current disadvantage of using flex is that it doesn't work for IE9 or earlier. It's probably a bit soon to be dumping them yet.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm using src img to place a logo in the header section. What would the pros and cons be of placing the image in a < div > vs leaving it as a plain ol' img src?
I'm thinking that, for the most part, I should be able to apply the same properties (such as margin, class, ID, etc.) to both. Am I missing something?
Note: I'm not interested in a background-image since I consider the logo content.
tl;dr wrapping is always good thing, if you are going to maintain that code for long enough time.
because you can created very targeted css, show, hide could be easier, round corners and adding text for accessibility will be easier etc..
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm using Susy as CSS grid framework and I find that 48 columns gives me alot more control over the design. Most of the time 24 or even 12 columns is more that enough, but for special cases 48 is a bit more convenient.
I've noticed that the web standard seems to be 12, with Bootstrap & Foundation for example. Concerning those I understand that a larger grid would generate alot more css. But since Susy doesn't have that problem, is there another reason for limiting your columns to 12? To me it seems there isn't, but since most people are using 12 columns I can't shake the feeling that I'm missing something.
Nope. That should work fine. Cheers!