Skip to content

Instantly share code, notes, and snippets.

View bananasnippets's full-sized avatar

bananablues bananasnippets

View GitHub Profile
@bananasnippets
bananasnippets / CSS: corner ribbon
Last active December 17, 2015 12:09
CSS: corner ribbon
.wrapper {
margin: 50px auto;
width: 280px;
height: 370px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
position: relative;
@bananasnippets
bananasnippets / gist:2012129
Created March 10, 2012 17:04
HTML: Starting Template (minimal)
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
@bananasnippets
bananasnippets / gist:2011669
Created March 10, 2012 15:00
CSS: Image Replacement
.ir {
border: 0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}
@bananasnippets
bananasnippets / gist:2011577
Last active October 1, 2015 14:57
HTML: Starting Template
<!doctype html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="de"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8 no-js" lang="de"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9 no-js" lang="de"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="de"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">