Skip to content

Instantly share code, notes, and snippets.

View pcalves's full-sized avatar
🍵

Paulo Coelho Alves pcalves

🍵
View GitHub Profile
@pcalves
pcalves / gulpfile.js
Created November 28, 2014 17:05
Basic gulpfile.js (no autoprefixer)
/**
* This gulpfile considers the following directory structure:
*
* .
* ├── app PHP framework stuff
* ├── bower_components Front-end libraries
* ├── node_modules Gulp & Gulp modules
* ├── public Production-ready assets
* │   ├── css
* │   ├── fonts
@pcalves
pcalves / fkCyi.markdown
Created October 22, 2014 16:36
A Pen by Paulo Coelho Alves.
@pcalves
pcalves / dabblet.css
Created March 28, 2014 17:21
Custom radio buttons & checkboxes with CSS
/**
* Custom radio buttons & checkboxes with CSS
* http://lea.verou.me/css3-secrets/#slide31
*/
/**
* These styles are for this dabblet only
*/
body {
color: #111;
@pcalves
pcalves / dabblet.css
Created March 27, 2014 17:45
CSS border experiments
/**
* CSS border experiments
*/
.bd {
display: inline-block;
border-top: 100px solid #e55;
border-left: 100px solid #e55;
border-right: 100px solid #e55;
border-bottom: 100px solid #e55;
width: 1px;
@pcalves
pcalves / dabblet.css
Last active August 29, 2015 13:57
CSS Triangle border
/**
* CSS Triangle border
*/
body {
background-color: #e6e6da;
color: black;
font-family: sans-serif;
font-size: 14px;
}
@pcalves
pcalves / dabblet.css
Last active August 29, 2015 13:56
Full page background
/**
* Full page background
* http://css-tricks.com/perfect-full-page-background-image/
*/
.bg {
position: fixed;
top: -50%;
left: -50%;
width: 200%;