Skip to content

Instantly share code, notes, and snippets.

View LliyoR's full-sized avatar
💭
Drowning in Erudition

Paul Fields LliyoR

💭
Drowning in Erudition
View GitHub Profile
@LliyoR
LliyoR / dabblet.css
Created December 26, 2015 00:21 — forked from csssecrets/dabblet.css
Vertical stripes
/**
* Vertical stripes
*/
height: 100%; width: 100%;
background:
linear-gradient(
to right,
#fb3 50%,
#58a 0);
/*bg repeated 15 times and finishing
@LliyoR
LliyoR / dabblet.css
Created December 25, 2015 23:35 — forked from csssecrets/dabblet.css
Inner rounding
/**
* Inner rounding
*/
div {
border-radius: .8em;
outline:calc(.34em + .01em) solid #655; /*min .35em*/
box-shadow:0 0 0 .34em #655; /*min .34em*/
max-width: 10em;
@LliyoR
LliyoR / dabblet.css
Created December 24, 2015 16:12 — forked from csssecrets/dabblet.css
Flexible background positioning
/**
* Flexible background positioning
* via calc()
*/
div {
margin: 3em auto;
background: url(http://csssecrets.io/images/code-pirate.svg)
no-repeat bottom right #58a;
background-position: calc(100% - 20px) calc(100% - 10px);
@LliyoR
LliyoR / dabblet.css
Last active December 24, 2015 16:01 — forked from csssecrets/dabblet.css
Flexible background positioning
/**
* Flexible background positioning
* via extended background-position
*/
div {
background: url(http://csssecrets.io/images/code-pirate.svg)
no-repeat bottom right #58a;
background-origin: content-box;
@LliyoR
LliyoR / dabblet.css
Last active December 24, 2015 15:44 — forked from csssecrets/dabblet.css
Multiple borders
/**
* Multiple borders
*/
div {
width: 100px;
height: 60px;
margin: calc(50% - 40px) auto;
background: yellowgreen;
box-shadow:
@LliyoR
LliyoR / dabblet.css
Created December 24, 2015 15:20 — forked from csssecrets/dabblet.css
Translucent borders
/**
* Translucent borders
*/
body {
margin: 0;
background: url('http://csssecrets.io/images/stone-art.jpg');
}
div {
@LliyoR
LliyoR / github.css
Created November 23, 2013 20:42 — forked from theconektd/github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@LliyoR
LliyoR / dabblet.css
Created May 20, 2013 20:22 — forked from kizu/dabblet.css
Just for fun™: Flickr spinner in pure CSS
/**
* Just for fun™: Flickr spinner in pure CSS
* Now, with wider browser support!
*/
@keyframes move-right {
to { right: 0; }
}
@keyframes move-padding {
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */