Skip to content

Instantly share code, notes, and snippets.

View leechy's full-sized avatar

Andrey Lechev leechy

View GitHub Profile
@leechy
leechy / dabblet.css
Created February 1, 2012 15:11
Table resized by image
/**
* Table resized by image
*/
body, html {
height: 100%;
margin: 0;
}
div {
@leechy
leechy / dabblet.css
Created June 14, 2012 09:23
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@leechy
leechy / dabblet.css
Created June 14, 2012 10:34
Блок по центру экрана, с максимальной шириной и ограничением
/**
* Блок по центру экрана, с максимальной шириной и ограничением
*/
/* стили для блока с ограничением */
.b-limited-content {
max-width: 1000px;
margin: 0 auto 1.2em 200px;
height: 100px;
@leechy
leechy / dabblet.css
Created June 14, 2012 15:17
Блок по центру экрана, с максимальной шириной и ограничением
/**
* Блок по центру экрана, с максимальной шириной и ограничением
*/
body {
margin: 0;
}
.b-content-with-limit {
max-width: 1600px;
margin: 0 auto;
@leechy
leechy / dabblet.css
Created June 20, 2012 09:49
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
@leechy
leechy / dabblet.css
Created December 19, 2012 07:58
AppStore Badge with SVG and fallback to png
/**
* AppStore Badge with SVG and fallback to png
*/
.b-download__app-store-badge {
display: inline-block;
background: url('http://www.leechy.ru/inn/appstore-en.png') no-repeat;
background: none, url('http://www.leechy.ru/inn/appstore-en.svg') no-repeat;
background-size: 100% 100%;
width: 135px;
@leechy
leechy / dabblet.css
Created March 13, 2013 09:31
Untitled
body {
background:#333;
}
@leechy
leechy / dabblet.css
Created March 13, 2013 09:47
animation-delay games
/* animation-delay games */
@-moz-keyframes delay {
from { transform: rotate(90deg); }
to { transform: rotate(270deg); }
}
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@leechy
leechy / dabblet.css
Created March 20, 2013 15:09
z-index of inner element of fixed parent in Chrome not working
/**
* z-index of inner element of fixed parent in Chrome not working
*/
body {
background: white;
min-height: 100%;
margin: 0;
}
.div0 {
@leechy
leechy / dabblet.css
Created April 12, 2013 08:03
PlanetSide 2 Menu
/**
* PlanetSide 2 Menu
*/
body {
background: blue;
}
.menu {
width: 100px;