Skip to content

Instantly share code, notes, and snippets.

View jalbertbowden's full-sized avatar

albert jalbertbowden

View GitHub Profile
@jalbertbowden
jalbertbowden / dabblet.css
Created March 27, 2012 03:52 — forked from JoelBesada/dabblet.css
CSS States
/* CSS States */
body {
background: url(http://dabblet.com/img/noise.png);
background-color: #F5F2F0;
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.6em;
text-shadow: 0 2px 0 white;
color: #222;
}
@jalbertbowden
jalbertbowden / dabblet.css
Created March 27, 2012 04:16 — forked from kizu/dabblet.css
Stupid box-shadow pixelized icons
/* Stupid box-shadow pixelized icons */
a {
color: blue;
padding-right: 1px;
}
a:hover {
color: red;
}
a:after {
content: "";
@jalbertbowden
jalbertbowden / dabblet.css
Created March 27, 2012 05:57 — forked from daneden/dabblet.css
Transition aliasing bug - with 3D transform fix
/* Transition aliasing bug - with 3D transform fix */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
transform: translate3d(0,0,0);
}
div {
width: 100px;
@jalbertbowden
jalbertbowden / dabblet.css
Created March 27, 2012 06:00 — forked from daneden/dabblet.css
Transition aliasing bug
/* Transition aliasing bug */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
}
div {
width: 100px;
height: 100px;
@jalbertbowden
jalbertbowden / dabblet.css
Created April 3, 2012 07:29 — forked from girliemac/dabblet.css
Happy Valentine's Day!
/**
* Happy Valentine's Day!
* Feb. 14th 2012
* @girlie_mac
*/
body {
background: #f06;
}
@jalbertbowden
jalbertbowden / dabblet.css
Created April 3, 2012 07:30 — forked from girliemac/dabblet.css
CSS3 No-image Chupa-Chupsy candy
/**
* CSS3 No-image Chupa-Chupsy candy
* by @girlie_mac
* http://girliemac.com/blog/2012/03/24/making-chupa-chups-using-css3-pseudo-elements/
*
* Please, do not compare this with the real one.
* I feel pretty terrible making the awesome design by Salvador Dalí into some crap.
* But my point of this demo is that you can create the floral shape with CSS, using border-radius:50% and pseudo-element(s)
*/
html {
@jalbertbowden
jalbertbowden / dabblet.css
Created April 10, 2012 20:58 — forked from chriscoyier/dabblet.css
Shadow Triangle
/* Shadow Triangle */
span {
display: inline-block;
transform: scaleX(2.5);
color: #BADA55;
text-shadow:
0 2px 2px rgba(255,255,255,0.7),
0 10px 4px rgba(0,0,0,0.5);
font-size: 32px;
@jalbertbowden
jalbertbowden / dabblet.css
Created May 31, 2012 08:47 — forked from chriscoyier/dabblet.css
Fake animated pseudo
/**
* Fake animated pseudo
*/
div {
width: 200px;
padding: 10px;
position: relative;
background: red;
background-clip: content-box;
animation: bounce infinite alternate 0.5s;
@jalbertbowden
jalbertbowden / dabblet.css
Created June 6, 2012 20:24 — forked from LeaVerou/dabblet.css
drop-shadow filter vs box-shadow
/**
* drop-shadow filter vs box-shadow
*/
html {
background: url('http://subtlepatterns.com/patterns/purty_wood.png')
}
.speech-bubble {
position: relative;
@jalbertbowden
jalbertbowden / ie-6-9-detect.js
Last active April 7, 2020 10:30 — forked from peteboere/ie-mobile-detect.js
JavaScript IE Version Detection, IE6-10 and IE Mobile
// ----------------------------------------------------------
// A short snippet for detecting versions of IE:
// Uses a combination of object detection and user-agent
// sniffing.
// ----------------------------------------------------------
// If you're not in IE then:
// ie === NaN // falsy
// If you're in IE then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE: