Skip to content

Instantly share code, notes, and snippets.

View Calvetto's full-sized avatar

Javier Ruiz Calvetto

  • Simplelogica
  • Asturias, Gijon
View GitHub Profile
@Calvetto
Calvetto / dabblet.css
Last active November 29, 2015 19:29
Preload
/**
* Preload
*/
.loader-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
@Calvetto
Calvetto / dabblet.css
Last active November 30, 2015 10:27
Flip Kitty
/**
* Flip Kitty
*/
body {
font-size: 1.2em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
text-align: center;
perspective: 800px;
@Calvetto
Calvetto / dabblet.css
Last active November 30, 2015 09:15
Perspectiva
/*
* Perspectiva
*/
.container {
width: 200px; height: 200px;
border: 1px solid #CCC;
margin: 40px 50px;
position: relative;
perspective: 600px;
}
@Calvetto
Calvetto / dabblet.css
Created November 28, 2015 11:12 — forked from csssecrets/dabblet.css
Esquina doblada
/**
* Esquina doblada
*/
div {
width: 300px;
background: #58a;
background:
linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.4) 0) 100% 0 no-repeat,
linear-gradient(-135deg, transparent 23px, #58a 0);
@Calvetto
Calvetto / dabblet.css
Last active November 28, 2015 11:06 — forked from csssecrets/dabblet.css
Salto de línea
/**
* Salto de línea
*/
dt, dd {
display: inline;
margin: 0;
}
dd {
@Calvetto
Calvetto / dabblet.css
Created November 28, 2015 09:54 — forked from csssecrets/dabblet.css
Offset
/**
* Offset
*/
div {
background: url(http://csssecrets.io/images/code-pirate.svg)
no-repeat bottom right #58a;
background-position: right 20px bottom 10px;
/* Styling */
@Calvetto
Calvetto / dabblet.css
Last active November 28, 2015 09:52
Sprite
/**
* Sprite
*/
body {
background: #3598DB;
}
.icons {
width: 50px; height: 50px;
margin: 10px;
@Calvetto
Calvetto / dabblet.css
Last active May 20, 2022 13:31
Block Blocks Blocks: Display
/**
* Block Blocks Blocks: Display
*/
body {
background: #EEE;
}
ul {
display: inline-block;
background: black;
/* paso 3 font-size: 0;*/
@Calvetto
Calvetto / dabblet.css
Last active November 30, 2015 08:38
Block Blocks Blocks: Floats
/**
* Block Blocks Blocks: Floats
*/
.wrapper {
background: black;
color: white;
overflow:hidden;
width: 100%;
@Calvetto
Calvetto / dabblet.css
Created November 26, 2015 12:49 — forked from csssecrets/dabblet.css
Sticky footer with flexible height
/**
* Sticky footer with flexible height
*/
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}