Skip to content

Instantly share code, notes, and snippets.

View msisto's full-sized avatar

Matt Sisto msisto

View GitHub Profile
@msisto
msisto / Bsqri.markdown
Last active August 29, 2015 14:07
A Pen by Matt Sisto.
@msisto
msisto / CSS Loading Spinner
Last active December 30, 2015 04:39
CSS-only Loading Spinner
Another CSS-Only Loading Spinner
--------------------------------
A [Pen](http://codepen.io/msisto/pen/LntJe) by [Matt Sisto](http://codepen.io/msisto) on [CodePen](http://codepen.io/).
[License](http://codepen.io/msisto/pen/LntJe/license).
@msisto
msisto / gist:5108905
Created March 7, 2013 15:38
Compiled CSS
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
@font-face {
font-family: carpenterscare;
src: url("fonts/carpenterscare.eot");
src: url("fonts/carpenterscare.eot?#iefix") format("embedded-opentype"), url("fonts/carpenterscare.woff") format("woff"), url("fonts/carpenterscare.ttf") format("truetype"), url("fonts/carpenterscare.svg#carpenterscareRegular") format("svg");
font-weight: normal;
@msisto
msisto / gist:5108899
Created March 7, 2013 15:37
@kaishin: This is from a WP template I am working on. At this stage, it's in pretty dire need of refactoring so I stripped out the content to leave just the markup and relevant styles. Pretty basic. What has me stumped is that this happens sometimes, but not others and I haven't been able to find a common factor.
<html>
<body>
...
<section class="footer">
<div class="container">
<nav class="footer-nav">
<h6>Header text</h6>
<?php wp_nav_menu( array( 'menu' => 'Footer', 'menu_class' => 'nav-menu-footer', 'container' => false ) ); ?>
</nav>