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 June 13, 2013 21:09
Justified Menu
/**
* Justified Menu
*/
body { text-align: center; }
nav {
user-select: none;
resize: both;
overflow: auto;
display: inline-block;
@LliyoR
LliyoR / dabblet.css
Created June 11, 2013 08:19
Add event listeners
/**
* Add event listeners
*/
@LliyoR
LliyoR / dabblet.css
Created June 11, 2013 01:06
Angry Birds Star Wars purple button
/**
* Angry Birds Star Wars purple button
*/
:root, body {
overflow: hidden;
height: 100%;
background-color: #122347;
}
.b-angry-birds-star-wars-btn {