Skip to content

Instantly share code, notes, and snippets.

View afraser's full-sized avatar

Adam Fraser afraser

  • Rocket Insights
  • Newburyport, MA
View GitHub Profile
@afraser
afraser / dabblet.css
Created August 2, 2012 16:47
Toggle switch
/**
* Toggle switch
*/
*{
box-sizing: border-box;
}
input, textarea{
box-sizing: content-box;
}
body{
@afraser
afraser / dabblet.css
Created July 25, 2012 11:45
ribbon banner
/**
* ribbon banner
*/
body{
background: #333;
padding: 35px 0 0;
position: relative;
}
.ribbon {
@afraser
afraser / dabblet.css
Created July 20, 2012 18:09
Boundless Plus v2 layout - Hodgie
/* Boundless Plus v2 layout - Hodgie */
html {
height: 100%;
max-height: 100%;
}
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
@afraser
afraser / dabblet.css
Created July 13, 2012 13:48 — forked from mhodgson/dabblet.css
Boundless Plus v2 layout - Hodgie
/* Boundless Plus v2 layout - Hodgie */
html {
height: 100%;
max-height: 100%;
}
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
@afraser
afraser / dabblet.css
Created July 12, 2012 19:29 — forked from mhodgson/dabblet.css
Boundless Plus v2 layout
/* Boundless Plus v2 layout */
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
}
header{
height: 100%;
max-height: 100%;
@afraser
afraser / dabblet.css
Created July 12, 2012 18:16
Boundless Plus v2 layout _2
/* Boundless Plus v2 layout _2*/
body {
margin: 0;
}
header{
height: 100%;
position: fixed;
background-color: #333;
width: 150px;
color: white;
@afraser
afraser / dabblet.css
Created July 12, 2012 15:04
Boundless Plus v2 layout
/* Boundless Plus v2 layout */
body {
margin: 0;
}
header{
height: 100%;
position: fixed;
background-color: #333;
width: 150px;
color: white;
@afraser
afraser / dabblet.css
Created June 13, 2012 13:01
Untitled
/*Sexy paper shadow*/
.post {
position:relative;
width: 500px;
height: 400px;
background-color: #ECEAe2;
padding: 30px;
width: 500px;
height: 100px;
@afraser
afraser / dabblet.css
Created February 4, 2012 17:37
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background: #f06;
background: linear-gradient(0deg, #f06, yellow);
min-height:100%;
}
/*Note that the styles here are using
@afraser
afraser / dabblet.css
Created January 22, 2012 00:06
Fold/Unfold animation
/* Fold/Unfold animation
Now with gradients and expanding container!
*/
body { margin-top: 200px; }
@keyframes topfold {
0% {
transform: rotateX(0deg);
}
50% {