This file contains hidden or 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
/** | |
* A Tabs Component | |
*/ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
body { |
This file contains hidden or 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 first commented line is your dabblet’s title | |
*/ | |
.container { | |
overflow-x:scroll; | |
overflow-y: hidden; | |
width: 500px; | |
height: 500px; | |
-webkit-overflow-scrolling: touch; |
This file contains hidden or 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
/* Modular Scale */ | |
* {margin:0} | |
html {background:url(//griddle.it/1000-1-999?color=white&num=0&horizontal=27) 0 1px} | |
h1 {font:45px/54px sans-serif;margin-top:54px} | |
h2 {font:36px/45px sans-serif;margin-top:45px} | |
h3 {font:27px/36px sans-serif;margin-top:36px} | |
body {font:18px/27px sans-serif;max-width:30em;margin:27px auto;} |
This file contains hidden or 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> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<?php | |
/* |
This file contains hidden or 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
<pre> | |
<?php | |
require 'Cloud/API.php'; | |
$cloud = new Cloud_API('username', 'password'); | |
$items = $cloud->getItems(1, 1000); | |
$exp_hours = 120; | |
function hours_old($created_at) { | |
return (time() - strtotime($created_at)) / 60 / 60; |
This file contains hidden or 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
/** | |
* 2012-07-03 | |
*/ | |
@import url(https://dl.dropbox.com/u/48589/foundation3/stylesheets/foundation.css); | |
body { | |
background-color: #ddd; | |
font-family: courier; |
This file contains hidden or 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
/* Button, -webkit-filter, and transitions */ | |
body { | |
background: #555; | |
font: 16px sans-serif; | |
} | |
.button { | |
display: inline-block; | |
padding: .5rem 2rem; |
This file contains hidden or 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
<?php | |
// Probably unnecessary, but wanted to test the waters of 5.4 | |
trait NamespaceConverter | |
{ | |
function nsToPath($class) { | |
return str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php'; | |
} | |
} |
This file contains hidden or 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
http_path = "/" | |
css_dir = "" | |
sass_dir = "" | |
images_dir = "" | |
javascripts_dir = "" | |
output_style = :expanded | |
line_comments = false | |
preferred_syntax = :scss |
This file contains hidden or 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
@function colors($base) { | |
@return darken($base, 10%) $base lighten($base, 10%); | |
} | |
body { | |
color: nth(colors(#ff0000), 1); | |
} |