Skip to content

Instantly share code, notes, and snippets.

View ludviglindblom's full-sized avatar

Ludvig Lindblom ludviglindblom

View GitHub Profile
/*
* 3D Text
*/
* {
margin: 0;
padding: 0;
}
body {
background: #CCC;
@ludviglindblom
ludviglindblom / dabblet.css
Created January 24, 2012 11:50 — forked from daneden/dabblet.css
Tron loader
/*
* Tron loader
*/
* {
margin: 0;
padding: 0;
}
body {
background: #333;
@ludviglindblom
ludviglindblom / dabblet.css
Created December 21, 2011 12:24
CSS3 Ribbon
/**
* CSS3 Ribbon
*/
body{
text-align: center;
}
body a, body a:link, body a:active, body a:visited{
color: #1169C1;
@ludviglindblom
ludviglindblom / dabblet.css
Created December 21, 2011 07:52 — forked from maxhoffmann/dabblet.css
CSS3 Border-Radius with Border - Circle Avatars
/**
* CSS3 Border-Radius with Border - Circle Avatars
*/
/* General Styles */
body { background: url(http://subtlepatterns.com/patterns/white_texture.png);
font: 100 14px sans-serif;
color: #444555; text-shadow: 0 2px white;
text-align: center;
@ludviglindblom
ludviglindblom / ago.js
Created June 2, 2011 20:36 — forked from gf3/ago.js
Super small relative dates
module.exports = (function(){
const MS =
{ seconds: 1000
, minutes: 60 * 1000
, hours: 60 * 60 * 1000
, days: 24 * 60 * 60 * 1000
, weeks: 7 * 24 * 60 * 60 * 1000
, months: 30 * 7 * 24 * 60 * 60 * 1000
, years: 365 * 24 * 60 * 60 * 1000 }
@ludviglindblom
ludviglindblom / detect_full_screen.html
Created May 18, 2011 16:32 — forked from nathansmith/detect_full_screen.html
Detect full-screen mode for desktop browsers.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Detect Full-Screen</title>
<style>
* {
font-family: sans-serif;
line-height: 1.5;