Reputation: 31
I want to start a blog design from scratch as a week-ends project, but I have problem to see how I can render it via CSS. In a CSS grid system you can define the size of a column based on the number of elements e.g. I have 12 based grid and I can decide to have 2 columns: 2 of the size of 6 or one of 5 and one of 7.
[EDIT] I found a website example that does what I would like to achieve: http://www.by-form.net/
Thanks~
Upvotes: 2
Views: 3167
Reputation: 31
Thank you for your answers guys,
I found 2 ways to answer that issue:
Upvotes: 1
Reputation: 158
The thing about vertical sizing is that it should grow as your content grows, that's why grid systems only include rows with 12 columns, because you'll need your page to grow as the content in it does. As stated before (and I'm not sure if you meant pure CSS grid system when you asked or if you were referring to bootstraps grid system or something similar), you can use a lot of different frameworks to achieve this like Bootstrap or Materialize or even create one yourself (which is a great exercise if your objective is to understand how this works, but not so much if you want to be productive about your project).
Upvotes: 1
Reputation: 1831
Your grid in the image is very complex. I don't think you can achieve a layout like this without any rows or columns that is flexible enough. What I mean by that is, that you surely want the boxes to grow when the content gets bigger. This could be a big problem cause there are so many dependencies to next and previous columns.
Anyway, if you reduce some dependencies and know exactly what the order of the content should be and look like, it would be much easier.
Upvotes: 0
Reputation: 110
I don't have much knowledge about this but using bootstrap css you can achive the grid system.
Upvotes: 0