Posted in foundation
4254
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
122
This Month
404
This Year
530

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
1. Show your work to the world instead of keeping in your head💆. 2. Do the work consistently👌 3. Respect your work🥰 4. Don't postpone your work 5. Make mistakes 🔥🔥🔥
Unknown
Random CSS Property

:focus

The :focus CSS pseudo-class represents an element (such as a form input) that has received focus. It is generally triggered when the user clicks or taps on an element or selects it with the keyboard's Tab key.
:focus css reference