Skip to content

Instantly share code, notes, and snippets.

View aspirisen's full-sized avatar

Dmitrii Pikulin aspirisen

View GitHub Profile
@aspirisen
aspirisen / dabblet.css
Created May 29, 2015 10:09
Text masking — The SVG way
/**
* Text masking — The SVG way
*/
svg {
width: 6em; height: 1.5em;
font: 900 500%/1.2 'Arial Black', sans-serif;
}
text { fill: url(#wood); }
@aspirisen
aspirisen / dabblet.css
Created May 8, 2015 11:28 — forked from LeaVerou/dabblet.css
Text masking — The SVG way
/**
* Text masking — The SVG way
*/
svg {
width: 6em; height: 1.5em;
font: 900 500%/1.2 'Arial Black', sans-serif;
}
text { fill: url(#wood); }
/**
* Rotate text
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.rotateObj {
/**
* Flex
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@aspirisen
aspirisen / dabblet.css
Last active August 29, 2015 14:14
Rotate text
/**
* Rotate text
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.rotateObj {
@aspirisen
aspirisen / dabblet.css
Last active August 29, 2015 14:14
Flex
/**
* Flex
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
/**
* Arrow
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
div{
@aspirisen
aspirisen / dabblet.css
Last active August 29, 2015 14:14
Vertical menu only with pure CSS
/**
* Vertical menu only with pure CSS
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.navigation {
@aspirisen
aspirisen / dabblet.css
Last active August 29, 2015 14:14
Untitled
input + .navigation{
background: red;
}
input:checked ~ .navigation{
display: none;
}
@aspirisen
aspirisen / dabblet.css
Last active August 29, 2015 14:14
Float
/**
* Float
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
position: relative;
}