Skip to content

Instantly share code, notes, and snippets.

@untiground
untiground / gist:2297854
Created April 4, 2012 04:44
css: Div Dead Center
body
{
margin: 0px;
}
#horizon
{
color: white;
background-color: #0ff;
text-align: center;
@untiground
untiground / HTML Start
Created April 4, 2012 03:26
html: Start Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Title</title>
<link rel="stylesheet" href="css/reset.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
@untiground
untiground / reset.css
Created April 4, 2012 01:40 — forked from terkel/reset.css
css: Reset
/*!
* CSS Reset 2011-12-25
* https://gist.github.com/gists/1360380
*
* Author: Takeru Suzuki, http://terkel.jp/
* License: Public domain
*
* Inspired by Normalize.css: http://necolas.github.com/normalize.css/
*/
@untiground
untiground / style.css
Created April 4, 2012 01:32
css: Image Replacement
ir.{
border: 0;
border:none;
text-shadow: none;
color: transparent;
background-color: transparent;
}
@untiground
untiground / gist:2296924
Created April 4, 2012 01:20 — forked from padolsey/gist:527683
js: Detect IE
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}