Skip to content

Instantly share code, notes, and snippets.

View i2r's full-sized avatar

Igor Spisivtsev i2r

  • Yandex
  • Moscow, Russia
View GitHub Profile
@i2r
i2r / dabblet.css
Created February 9, 2012 04:50
PopUp
/**
* PopUp
*/
body {
padding: 3em;
background: white;
color: black;
}
@i2r
i2r / dabblet.css
Created February 9, 2012 05:44
Lea's post test-case
/**
* Lea's post test-case
*/
.a, .b {
position: absolute;
left: 50%;
top: 50%;
width: 50px;
@i2r
i2r / dabblet.css
Created March 3, 2012 09:56
IE white-space test-case
/**
* IE white-space test-case
*/
.container {
width: 200px;
margin-top: 60px;
border: solid 2px;
@i2r
i2r / dabblet.css
Created March 5, 2012 08:32
Loader
/**
* Loader
* Pure CSS3 animated loader with 1 element.
*/
html, body
{
min-height: 100%;
}
body {
@i2r
i2r / dabblet.css
Created April 19, 2012 07:09
Ratings Stars
/*
Ratings Stars
(with as little code as possible)
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
}
.rating > span {
@i2r
i2r / dabblet.css
Created June 20, 2012 08:59
Alt&Title&JS
/**
* Alt&Title&JS
*/
body {
margin: 3em;
}
@i2r
i2r / dabblet.css
Created July 6, 2012 11:08
Touch Scrolling
/**
* Touch Scrolling
*/
html, body {
min-height: 100%;
height: 100%;
margin: 0;
padding: 0;
/**
* Timer
*/
html, body {
min-height: 100%;
color: rgba(0,0,0, .5);
margin: 0;
padding: 0;
}
/**
* Arrow
*/
html, body {
min-height: 100%;
}
.arrow {
position: absolute;
@i2r
i2r / dabblet.css
Created August 28, 2012 13:53
VAM IE
/**
* VAM IE
*/
html,
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}