Skip to content

Instantly share code, notes, and snippets.

View robhrt7's full-sized avatar

Robert Hart robhrt7

  • FocusReactive
  • London
View GitHub Profile
@robhrt7
robhrt7 / dabblet.css
Created May 11, 2012 06:41
Prefix free ff bug
/* Prefix free ff bug */
div {
width: 50px;
height: 50px;
margin-bottom: 10px;
background: red;
color: black;
}
div:hover {background-color: blue; width: 100px; color: yellow;}
@robhrt7
robhrt7 / dabblet.css
Created May 22, 2012 08:26
FF diuble transition prop test
/**
* FF diuble transition prop test
*/
div {
opacity: 1;
visibility: visible;
width: 200px;
height: 200px;
padding: 10px;
@robhrt7
robhrt7 / dabblet.css
Created May 22, 2012 09:11
backgound-image transition test
/**
* backgound-image transition test
* transition delay form backgound-image works normaly only in Chrome
*/
div {
width: 200px;
height: 200px;
background-color: red;
background-image: url(http://dl.dropbox.com/u/6594451/zoom.png);
@robhrt7
robhrt7 / dabblet.css
Created May 22, 2012 17:54
Transition revers, without bigger delay
/**
* Transition revers, without bigger delay
*/
div {
width: 100px;
height: 100px;
background: red;
transition-delay: 3s;
}
@robhrt7
robhrt7 / dabblet.css
Created May 23, 2012 13:51
Spinning face
/**
* Spinning face
*/
body {
background: red;
}
@keyframes spinning {
from {
@robhrt7
robhrt7 / dabblet.css
Created May 30, 2012 07:08
Text rendering blinking fix for Mac Chrome (be carefull, use fix only for chrome on mac, it can break pages in safari)
/**
* Text rendering blinking fix for Mac Chrome (be carefull, use fix only for chrome on mac, it can break pages in safari)
*/
body {
-webkit-backface-visibility: hidden;
}
div {
width: 100px;
@robhrt7
robhrt7 / dabblet.css
Created June 15, 2012 15:16
Background transition test
/**
* Background transition test
*/
div {
width: 100px;
height: 100px;
transition: background 1s;
}
@robhrt7
robhrt7 / dabblet.css
Created July 19, 2012 09:49
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
::-webkit-scrollbar {
width: 20px;
height: 20px;
}
section.page:not(.focus):not(:hover)::-webkit-scrollbar {
@robhrt7
robhrt7 / dabblet.css
Created August 25, 2012 11:58
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;
}
We couldn’t find that file to show.