Skip to content

Instantly share code, notes, and snippets.

View kddawson's full-sized avatar

Karl Dawson kddawson

View GitHub Profile
@kddawson
kddawson / markup.html
Created August 15, 2012 13:06
A CSS3 nav ribbon sans images
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Multicelldesign CSS Ribbon</title>
<!-- Don't forget to add an HTML5 polyfill for IE -->
</head>
<body>
<div class="wrapper">
<nav role="navigation" aria-label="main menu">
@kddawson
kddawson / gist:5553558
Created May 10, 2013 10:07
SCSS: Mixin link pseudo states
// Provide contrasting color for all link states
// See http://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
@mixin link-pseudos($col,$col2,$col3) {
&:link {
color: $col;
text-decoration: none;
}
&:visited {
color: $col;