Posted in foundation
5077
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
758
This Month
1155
This Year
1353

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
For a long time it had seemed to me that life was about to begin - real life. But there was always some obstacle in the way, something to be gotten through first, some unfinished business, time still to be served, or a debt to be paid. Then life would begin. At last it dawned on me that these obstacles were my life.
Alfred D. Souza
Random CSS Property

overscroll-behavior-y

The overscroll-behavior-y CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
overscroll-behavior-y css reference