Skip to content

Instantly share code, notes, and snippets.

View SelenIT's full-sized avatar
💭
I may be slow to respond.

Ilya Streltsyn SelenIT

💭
I may be slow to respond.
View GitHub Profile
@SelenIT
SelenIT / dabblet.css
Created April 27, 2012 20:44 — forked from anonymous/dabblet.css
CSS2.1 8.3.1 Collapsing margins
/**
* CSS2.1 8.3.1 Collapsing margins
*/
div { margin: 50px; background: #000; color: #fff; }
p { margin: 10px 0; background: rgba(128,255,192,.2); }
span {
float: left;
background: rgba(255,255,127,.8);
color: green;
@SelenIT
SelenIT / dabblet.css
Created February 25, 2012 00:48 — forked from LeaVerou/dabblet.css
Flexible multiline definition lists with 2 lines of CSS
/**
* Flexible multiline definition lists with 2 lines of CSS
*/
dt, dd { display: inline; margin: 0; }
dd:after {
content: '\D\A';
white-space: pre;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 23:34 — forked from LeaVerou/dabblet.css
Flexible multiline definition lists with 2 lines of CSS
/**
* Flexible multiline definition lists with 2 lines of CSS
*/
dt, dd { display: inline; margin: 0; }
dd:after {
content: '\D\A';
white-space: pre;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:26 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:26 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:26 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:26 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:26 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:24 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
@SelenIT
SelenIT / dabblet.css
Created February 24, 2012 21:24 — forked from anonymous/dabblet.css
вываливающиеся маргины
/**
* вываливающиеся маргины
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}