Skip to content

Instantly share code, notes, and snippets.

View hhrogersii's full-sized avatar

Henry Rogers hhrogersii

View GitHub Profile
@hhrogersii
hhrogersii / index.html
Last active January 3, 2018 19:42
Maintain equidistant text contrast against background palette gradient
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=320" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Visualizing Text/Background Color Contrast</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sucrose@0.7.5/build/sucrose.min.css">
<script>
less = {
@hhrogersii
hhrogersii / dabblet.css
Created October 30, 2013 14:37 — forked from LeaVerou/dabblet.css
Scrolling shadows by @kizmarh and @LeaVerou
/**
* Scrolling shadows by @kizmarh and @leaverou
* Only works in browsers supporting background-attachment: local; & CSS gradients
* Degrades gracefully
*/
html {
background: white;
font: 120% sans-serif;
}