Posted in foundation
4259
5:00 am, July 9, 2021
 

foundation grid for 6.6x - also known as the foundation xy grid

some foundation grid demos for 6.6x foundation

you can get foundation here: https://get.foundation/ or here https://cdnjs.com/libraries/foundation 

more docs on this here: https://get.foundation/sites/docs/xy-grid.html 

as this site uses bootstrap i wont include the foundation here as it looks a bit broken

HTML

<h3>2 columns with margin and padding</h3>
<div class="grid-x grid-padding-x grid-margin-x">
  <div class="cell large-6">6 cells</div>
  <div class="cell large-6">6 cells</div>
</div>

<h3>3 columns with margin and padding</h3>
<div class="grid-x grid-padding-x grid-margin-x">
  <div class="cell large-4">4 cells</div>
  <div class="cell large-4">4 cells</div>
  <div class="cell large-4">4 cells</div>
</div>




<h3>Basic Grid Layout</h3>
<div class="grid-x">
  <div class="cell">full width cell</div>
  <div class="cell">full width cell</div>
</div>
<div class="grid-x">
  <div class="cell small-6">6 cells</div>
  <div class="cell small-6">6 cells</div>
</div>
<div class="grid-x">
  <div class="cell medium-6 large-4">12/6/4 cells</div>
  <div class="cell medium-6 large-8">12/6/8 cells</div>
</div>

<h3>2 columns with margin and padding and grid container</h3>
<p>adds a center aligned grid container</p>
<div class="grid-container">
  <div class="grid-x grid-padding-x grid-margin-x">
    <div class="cell large-6">6 cells</div>
    <div class="cell large-6">6 cells</div>
  </div>
</div>

2 columns with margin and padding

6 cells
6 cells

3 columns with margin and padding

4 cells
4 cells
4 cells

Basic Grid Layout

full width cell
full width cell
6 cells
6 cells
12/6/4 cells
12/6/8 cells

2 columns with margin and padding and grid container

adds a center aligned grid container

6 cells
6 cells

View Statistics
This Week
127
This Month
409
This Year
535

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote


seren spirit :(
Random CSS Property

max()

The max() CSS function lets you set the largest (most positive) value from a list of comma-separated expressions as the value of a CSS property value. The max() function can be used anywhere a <length>, <frequency>, <angle>, <time>, <percentage>, <number>, or <integer> is allowed.
max() css reference