Skip to content

Instantly share code, notes, and snippets.

@grtner
grtner / whitespacing.html
Created August 29, 2012 15:21 — forked from drublic/whitespacing.html
Using whitespace for big parts of a website
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Whitespace is important</title>
</head>
<body>
<div class="wrapper">
@grtner
grtner / dabblet.css
Created May 7, 2012 16:53 — forked from daneden/dabblet.css
Glossy overlay
/* Glossy overlay */
html {
min-height: 100%;
background: -webkit-linear-gradient(#000, #445);
}
figure {
width: 162px;
height: 162px;
@grtner
grtner / dabblet.css
Created April 25, 2012 06:32 — forked from LeaVerou/dabblet.css
Scrolling shadows by @kizmarh and @LeaVerou
/**
* Scrolling shadows by @kizmarh and @leaverou
* Only works in browsers supporting background-attachment: local; & CSS gradients
* Degrades gracefully
*/
html {
background: white;
font: 120% sans-serif;
}
@grtner
grtner / dabblet.css
Created April 25, 2012 06:23 — forked from chriscoyier/dabblet.css
Triangle with Shadow
/*
Triangle with Shadow
*/
.triangle-with-shadow {
width: 100px;
height: 100px;
position: relative;
overflow: hidden;
box-shadow: 0 16px 10px -17px rgba(0,0,0,0.5);
@grtner
grtner / _media-queries.scss
Created April 23, 2012 07:40 — forked from anthonyshort/_media-queries.scss
Media Queries in Sass
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break