Applying custom offsets and sizes of foundation grid - css

hey guys i am trying to create a layout which has like 8 columns on left and like 3.5 columns on right.
Now the problem is that 3.5 columns is not supported in in foundation.
how can i achieve that?
Or can i do a custom margin and padding.If so, i guess the layout for mobile will break too.
thanks.

You can easily change pretty much all properties of the grid in SASS version. If you make total column count 24(instead of 12) then 3.5 will be integer number 7. BUT! Much easier option will be nesting grid inside the grid(gridception) so you can subdivide section of arbitrary width (standard 1 to 12 columns) in up to 12 parts.

You want to make a web-page with 11.5 columns.
One way is to customize foundation with 23 column grid structure and have 16 columns on left and 7 on right.Here is the link to customize foundation - LINK
remove the components you dont need and have that stylesheet included for that specific page.

Related

How Can I Create 3 Columns on a Webpage Using Bootstrap?

I’m relatively new to webd and want to use bootstrap or any other CSS frameworks which exactly creates these 3three columns and display them, I’ve tried using a circle for images but can’t figure out the exact CSS to implement this if somebody can help me out with this would be great I’ve spent an entire night but can’t make it exactly look like this!
Try using grid system to divide something into 3 separate columns.
https://getbootstrap.com/docs/5.0/layout/grid/
if you want to create 3 columns with bootstrap first of all you have to import the bootstrap to your html. Than you need to create a row that contains your columns, and inside you can create the columns:
first column content
second column content
third column content

Different Grid structure for devices using bootstrap

, We have a requirement wherein we need the 12 Column Grid on Desktop as it is but on Tablet it should follow an 8 column grid. We wanted to know if this is possible in Bootstrap. If Yes, how do we do it?
It will depends on your design as you know 12 columns cover full width now you need 8 columns of full width. So in this case you can use 'offset' properties to give column based space and implement your design. Another method is you can directly use source code of bootstrap in sass or less and call mixin directly as per your requirements.

Does MDC have a grid system?

Does MDC have a grid system, something like Bootstrap's where you put columns inside rows with different widths depending on screen size.
If this is not yet supported (and/or not going to be) what's the official stand on the team on this thing, is MDL's grid the official supported to use?
Found it. Looks like it just hatched hours ago. Looks like it behaves like MDL grid.
https://github.com/material-components/material-components-web/tree/master/packages/mdc-layout-grid
Yes. Material design’s responsive UI is based on a column-variate grid layout. It has 12 columns on desktop, 8 columns on tablet and 4 columns on phone.
https://material-io.cn/develop/web/components/grid-lists/

Vertical and horizontal CSS grid system

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~
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).
Thank you for your answers guys,
I found 2 ways to answer that issue:
the masonry grid Javasript layout that handle very closely to the original idea of how I wanted to handle it.
or a nested grid (a grid within a grid), e.g. profoundgrid
I don't have much knowledge about this but using bootstrap css you can achive the grid system.
check this out
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.
I wrote an answer to a similar question showing a variety of CSS Techniques to do layouts. Check it out, it might be helpful here.
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.

Bootstrap custom 36 column grid

So I have looked all over the web and thei site and can't quite figure it out.
I want to create a custom grid in Bootstrap. The container should be 5760px and have 36 columns with 20px gutters. I know this is ridiculously large. but what I am trying to do is essentially have 3 12 column grids (each 1920px wide) side by side.
I've tried the custom build for Bootstrap but I don't really understand the container / grid system I guess. Also I am using Sass as opposed to Less. So that presents another twist.
If I could just get the css and by pass all the Sass / Less stuff that would be great.
Ok so im going out on a limb here, but if you're working with bootstrap and you want to configure the basics so much.
What you can do is download a customized version of it.
Take a look here : Boostrap 3
Here you will be able to customize the amount of columns you wish to work with : Custom Grid Count
And you will also be able to select the container size. : Container Width
Along with all the features of bootstrap.. And all from bootstrap themselves.
Once you have all your fields filled in and edited to your spec, scroll to the bottom and 'compile' it!
As an answer goes its really the best i think I can offer!

Resources