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> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<!-- Set the viewport width to device width for mobile --> | |
<meta name="viewport" content="width=device-width" /> |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Foundation 4 Grid Test</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<!-- Disregard these styles, they are for giving rows and columns a temporary BG color for better visibility --> |
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
.row { width: $rowWidth; max-width: 100%; min-width: $screenSmall; margin: 0 auto; | |
.row { width: auto; max-width: none; min-width: 0; margin: 0 (-($columnGutter/2)); } | |
&.collapse { | |
.column, .columns { padding: 0; } | |
} | |
.row { width: auto; max-width: none; min-width: 0; margin: 0 (-($columnGutter/2)); | |
&.collapse { margin: 0; } | |
} | |
} |
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
// SCSS for placeholder classes | |
%fancy-container { | |
@include box-shadow(0 0 10px rgba(0,0,0,0.2)); | |
@include border-radius(4px); | |
background: #eee; | |
border: solid 1px #ddd; | |
} | |
%fancier-container { | |
@include box-shadow(0 0 10px rgba(20,20,150,0.1)); |
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
<div class="row"> | |
<div class="twelve columns"> | |
<!-- Navigation --> | |
<nav class="top-bar contain-to-grid"> | |
<ul> | |
<li class="name"><h1><a href="#">Title</a></h1></li> | |
<li class="toggle-topbar"><a href="#"></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
<div class="row"> | |
<div class="twelve columns"> | |
<!-- Navigation --> | |
<div class="row"> | |
<div class="twelve columns"> | |
<ul class="top-bar"> |
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
<div class="row"> | |
<div class="twelve columns"> | |
<!-- Navigation --> | |
<ul class="nav-bar"> | |
<li class="active"><a href="#">Nav Item 1</a></li> | |
<li><a href="#">Nav Item 2</a></li> | |
<li><a href="#">Nav Item 3</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
<!-- Navigation --> | |
<nav class="top-bar fixed"> | |
<ul> | |
<li class="name"><h1><a href="#">Title</a></h1></li> | |
<li class="toggle-topbar"><a href="#"></a></li> | |
</ul> | |
<section> | |
<ul class="left"> |
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
<nav class="top-bar"> | |
<ul> | |
<li class="name"><h1><a href="#">Title</a></h1></li> | |
<li class="toggle-topbar"><a href="#"></a></li> | |
</ul> | |
<section> | |
<ul class="left"> | |
<li><a href="#">Link</a></li> | |
<li><a href="#">Link</a></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
<ul class="pricing-table"> | |
<li class="title">Standard</li> | |
<li class="price">$99.99</li> | |
<li class="description">Content...</li> | |
<li class="bullet-item">1 Database</li> | |
<li class="bullet-item">5GB Storage</li> | |
<li class="bullet-item">20 Users</li> | |
<li class="cta-button"><a class="button" href="#">Buy it Now »</a></li> | |
</ul> |