Posted in foundation
4273
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
91
This Month
296
This Year
549

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
time you enjoyed wasting is not wasted time
Unknown
Random CSS Property

:hover

The :hover CSS pseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it. It is generally triggered when the user hovers over an element with the cursor (mouse pointer).
:hover css reference