Skip to content

Instantly share code, notes, and snippets.

View zhishaofei3's full-sized avatar
🎯
Focusing

zhishaofei zhishaofei3

🎯
Focusing
View GitHub Profile
@zhishaofei3
zhishaofei3 / dabblet.css
Created July 26, 2016 06:56
Vintage envelope themed border via border-image
/**
* Vintage envelope themed border via border-image
*/
div {
padding: 1em;
border: 16px solid transparent;
border-image: 16 repeating-linear-gradient(-45deg, red 0, red 1em, transparent 0, transparent 2em,
#58a 0, #58a 3em, transparent 0, transparent 4em);
@zhishaofei3
zhishaofei3 / dabblet.css
Created July 26, 2016 06:56 — forked from csssecrets/dabblet.css
Vintage envelope themed border via border-image
/**
* Vintage envelope themed border via border-image
*/
div {
padding: 1em;
border: 16px solid transparent;
border-image: 16 repeating-linear-gradient(-45deg, red 0, red 1em, transparent 0, transparent 2em,
#58a 0, #58a 3em, transparent 0, transparent 4em);
@zhishaofei3
zhishaofei3 / dabblet.css
Last active May 24, 2016 12:02
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.h2 {
height: 30px;
position: relative;
}
.h2 i {
display: block;
@zhishaofei3
zhishaofei3 / dabblet.css
Last active May 24, 2016 12:01
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: linear-gradient(45deg, #f07, yellow);
width: 100px;
height: 80px;
}
div {
@zhishaofei3
zhishaofei3 / dabblet.css
Last active May 17, 2016 09:05
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: linear-gradient(45deg, #f07, yellow);
width: 100px;
height: 80px;
}
div {
@zhishaofei3
zhishaofei3 / dabblet.css
Last active May 16, 2016 08:55
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html {
background: linear-gradient(45deg, #f07, yellow);
width: 100px;
height: 80px;
overflow: hidden;
}
@zhishaofei3
zhishaofei3 / dabblet.css
Created May 16, 2016 08:36
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%;
}
#zp {
@zhishaofei3
zhishaofei3 / dabblet.css
Created May 16, 2016 08:36
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%;
}
#xxx {
@zhishaofei3
zhishaofei3 / dabblet.css
Created May 16, 2016 08:36
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%;
}
#xxx {
@zhishaofei3
zhishaofei3 / dabblet.css
Created May 16, 2016 08:33
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%;