Skip to content

Instantly share code, notes, and snippets.

/**
* col
*/
.first {background:red}
.last {background: blue}
@derekjohnson
derekjohnson / registration.html
Created June 5, 2012 22:49
Form with two submit buttons using HTML5
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>DEMO - Form with two submit buttons using HTML5</title>
<meta name="viewport" content="width=device-width">
</head>
<body>
<h1>Registration</h1>
@derekjohnson
derekjohnson / dabblet.css
Created June 1, 2012 16:11 — forked from anonymous/dabblet.css
Styling radio buttons
/**
* Styling radio buttons
*/
label {
display:inline-block;
padding: 1em;
background: #faf;
}
@derekjohnson
derekjohnson / dabblet.css
Created May 31, 2012 09:53
CSS open/close menu idea
/**
* CSS open/close menu idea
*/
body {background: #fff;padding:0;margin:0}
#menu {display:none}
#menu:target {display:block;position:absolute;top:0;background:#fff}