Skip to content

Instantly share code, notes, and snippets.

View doochik's full-sized avatar

Aleksei Androsov doochik

View GitHub Profile
@doochik
doochik / dabblet.css
Last active September 8, 2016 14:14
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@doochik
doochik / dabblet.css
Last active July 13, 2016 10:45
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%;
}
.test {
.container {
position: relative;
width: 100px;
height: 100px;
border :1px solid;
overflow: hidden;
}
.bg {
@doochik
doochik / dabblet.css
Last active March 30, 2016 18:57
Untitled
.a {
border: 1px solid;
padding: 5px;
width: 100px;
}
.b {
white-space: nowrap;
overflow-x: scroll; overflow-y: hidden; -webkit-overflow-scrolling: touch;
width: 100%;
@doochik
doochik / dabblet.css
Created February 3, 2016 17:55
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@doochik
doochik / dabblet.css
Last active November 17, 2015 10:10
Untitled
div {
transition: height 1s, width 1s, background 1s;
border: 1px solid #000;
width: 100px;
height: 100px;
}
div:hover {
background: #f00;
width: auto;
.a {
border: 1px solid #000;
display: flex;
overflow: hidden;
flex-shrink: 1;
width: 40px
}
.b {
white-space: nowrap;
.wrap {
width: 200px;
border: 1px solid;
display: flex;
}
.firstline {
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
@doochik
doochik / dabblet.css
Last active August 29, 2015 14:17
Untitled
.popup {
position: absolute;
top: 10px;
left: 10px;
width: 150px;
height: 200px;
border: 1px solid #000;
overflow: hidden;
}
@doochik
doochik / dabblet.css
Created February 12, 2015 17:43
Untitled
.messages-thead {
display: flex;
flex-direction: column-reverse;
}