Skip to content

Instantly share code, notes, and snippets.

View joshfitzgerald's full-sized avatar

Josh Fitzgerald joshfitzgerald

  • Slickdeals
  • Las Vegas
View GitHub Profile
@joshfitzgerald
joshfitzgerald / html5_Starter
Created April 7, 2013 02:21
html5 Starter Template w jQ
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9/jquery.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<title></title>
</head>
<body>
@joshfitzgerald
joshfitzgerald / css Image Replacement
Created April 7, 2013 02:41
css Image Replacement - 0/0+transparency
.ir {
border: 0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}
/*
Theme Name: ReClean
Theme URI: http://www.codenx.com/
Theme Version: 1.0
Theme Date: 2013-03-12
Theme Author: CodeNx
Theme Author URI: http://www.codenx.com/
Theme License: GPLv2
*/
@joshfitzgerald
joshfitzgerald / css Clearfix
Created April 10, 2013 03:52
css Clearfix
/* add .clearfix to any element that is “collapsed” due to floated child elements */
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
@joshfitzgerald
joshfitzgerald / lightbox_simple.html
Created April 12, 2013 00:15
A simple lightbox with a fadeIn and fadeOut
<!DOCTYPE html>
<html>
<head>
<title>Super Simple lightbox Window</title>
<style>
body {
margin:0;
padding:0;
background:#efefef;
@joshfitzgerald
joshfitzgerald / lightbox_simple.html
Created April 12, 2013 00:17
A simple Lightbox with fadeIn, fadeOut features
<!DOCTYPE html>
<html>
<head>
<title>Super Simple lightbox Window</title>
<style>
body {
margin:0;
padding:0;
background:#efefef;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="A description about your site" />
<title>Barebones Site - A really basic example of theming from scratch</title>
<link rel="stylesheet" href="path/to/css/reset.css" media="screen" />
<link rel="stylesheet" href="path/to/css/style.css" media="screen" />
<!--[if IE]>
<?php
/*
Template Name: Automagic Sitemap
Will automatically generate a sitemap from the wordpress database of posts, pages, and categories.
*/
?>
<?php get_header(); ?>
<div id="content">