Skip to content

Instantly share code, notes, and snippets.

View vicainelli's full-sized avatar
🤓
Focusing

Vinicius Cainelli vicainelli

🤓
Focusing
View GitHub Profile
@vicainelli
vicainelli / html5.sublime-snippet
Last active October 12, 2015 20:08
Basic markup initial html5
<snippet>
<content><![CDATA[<!DOCTYPE HTML>
<html lang="pt-BR">
<head>
<!-- SEO -->
<meta name="description" content="" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$1</title>
// ======= Sass Clearfix Mixin =======
@mixin clearfix()
&
*zoom: 1
&:before, &:after
content: ""
display: table
&:after
@vicainelli
vicainelli / index.html
Last active December 21, 2015 07:49
Custom select
<select name="" id="" class="select">
<option value="">Opção 1</option>
<option value="">Opção 2</option>
<option value="">Opção 3</option>
</select>
{
// color scheme, font options
"color_scheme": "Packages/Color Scheme - Default/tomorrow-theme/textmate/Tomorrow-Night-Bright.tmTheme",
"font_size": 11,
// Interface
"tab_size": 2,
"bold_folder_labels": true,
"highlight_line": true,
"show_full_path": true,

Detect window size with Javascript

@vicainelli
vicainelli / README.md
Last active January 1, 2016 17:49
WordPress Facebook Open Graph

Wordpress + Facebook Open Graph

Facebook Open Graph settings for a share posts!

CSS3 Media Queries

@vicainelli
vicainelli / Fetch.sublime-settings
Created January 17, 2014 19:55
Sublime Text 2 - settings for fetch file
{
"files":
{
"Pure css": "http://yui.yahooapis.com/pure/0.3.0/pure-min.css",
"customSelect": "https://raw.github.com/adamcoulombe/jquery.customSelect/master/jquery.customSelect.min.js",
"cycle": "https://raw.github.com/malsup/cycle/master/jquery.cycle.all.js",
"cycle-min": "http://rgbm.googlecode.com/files/jquery.cycle.all.min.js",
"jquery": "http://code.jquery.com/jquery.min.js",
"masked": "https://raw.github.com/digitalBush/jquery.maskedinput/1.3.1/dist/jquery.maskedinput.min.js",
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css",
@vicainelli
vicainelli / SassMeister-input.scss
Created March 8, 2014 12:46
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
.box {
font-size: 14px;
&--header {
font-size: 16px;
}
@vicainelli
vicainelli / buttons.scss
Created March 12, 2014 03:14
Yahoo! Pure CSS
.pure-button {
display: inline-block;
*display: inline;
zoom: 1;
line-height: normal;
white-space: nowrap;
vertical-align: baseline;
text-align: center;
cursor: pointer;
-webkit-user-drag: none;