Posted in foundation
4212
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
52
This Month
362
This Year
488

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
When I realized that, no individual step is hard in any process. Building this airport I'm standing in right now started with a guy writing the architectural plans on paper. That's not hard for him to do. Then laying the first beam isn't had. The whole thing is really hard. So, just take each step kind of piece by piece and when I was able to do that and stop trying to chase this prize and started putting in the work, things just started coming together.
Unknown
Random CSS Property

rotateX()

The rotateX() CSS function defines a transformation that rotates an element around the abscissa (horizontal axis) without deforming it. Its result is a <transform-function> data type.
rotateX() css reference