This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The Grid ---------------------- */ | |
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row.large-collapse .column, | |
.lt-ie9 .row.large-collapse .columns { padding: 0; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row .row.large-collapse { margin: 0; } | |
.lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } | |
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Using class options --> | |
<div class="switch large round"> | |
<input id="z" name="switch-z" type="radio" checked> | |
<label for="z" onclick="">Off</label> | |
<input id="z1" name="switch-z" type="radio"> | |
<label for="z1" onclick="">On</label> | |
<span></span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Radio Inputs --> | |
<form class="custom"> | |
<label for="radio1"> | |
<input name="radio1" type="radio" id="radio1" style="display:none;"> | |
<span class="custom radio"></span> Radio Button 1 | |
</label> | |
</form> | |
<!-- Checkboxes --> | |
<form class="custom"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Element that will have Dropdown --> | |
<a href="#" data-dropdown="drop1">Has Dropdown</a> | |
<!-- The Dropdown that our JS will attach to the above element --> | |
<ul id="drop1" class="f-dropdown"> | |
<li><a href="#">This is a link</a></li> | |
<li><a href="#">This is another</a></li> | |
<li><a href="#">Yet another</a></li> | |
</ul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The show classes */ | |
.show-for-small /* Visible up to 768px */ | |
.show-for-medium-down /* Visible from 1280px down */ | |
.show-for-medium /* Visible between 768px and 1280px */ | |
.show-for-medium-up /* Visible from 1280px up */ | |
.show-for-large-down /* Visible from 1440px down */ | |
.show-for-large /* Visible between 1280px and 1440px */ | |
.show-for-large-up /* Visible from 1440px up */ | |
/* The hide classes */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Sections Markup in Foundation 4 --> | |
<div class="section-container vertical-nav" data-section> | |
<section class="section"> | |
<p class="title"><a href="#panel1">Section 1</a></p> | |
<div class="content" data-slug="panel1"> | |
<ul class="side-nav"> | |
<li><a href="#">Link 1</a></li> | |
<li><a href="#">Link 2</a></li> | |
<li><a href="#">Link 3</a></li> | |
<li class="divider"></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Block grid syntax for Foundation 4 --> | |
<ul class="small-block-grid-2 large-block-grid-4"> | |
<li><img src="path/to/image"></li> | |
<li><img src="path/to/image"></li> | |
<li><img src="path/to/image"></li> | |
<li><img src="path/to/image"></li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Foundation 4 Grid --> | |
<div class="row"> | |
<div class="small-2 large-4 columns">...</div> | |
<div class="small-4 large-4 columns">...</div> | |
<div class="small-6 large-4 columns">...</div> | |
</div> | |
<!-- Offsets in 4 --> | |
<div class="row"> | |
<div class="small-2 columns">...</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Foundation Semantic Grid Testing</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> |