Skip to content

Instantly share code, notes, and snippets.

View rodrigoea's full-sized avatar
🏠
Working from home

Rodrigo Antinarelli rodrigoea

🏠
Working from home
View GitHub Profile
@rodrigoea
rodrigoea / gist:4b3fcb919b1951e12c2e
Last active October 14, 2016 23:25
Sublime packages
@rodrigoea
rodrigoea / media-queries.css
Created June 9, 2014 19:03
Media Query Break Points
/*==================================================
= Bootstrap 3 Media Queries =
==================================================*/
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}
[
{ "keys": ["super+alt+7"], "command": "encode_html_entities" },
{ "keys": ["super+enter"], "command": "insert", "args": {"characters": "<br>"} },
{ "keys": ["super+alt+l"], "command": "insert_snippet", "args": {"contents": "<li>${0:$SELECTION}</li>" } },
{ "keys": ["super+alt+b"], "command": "insert_snippet", "args": {"contents": "<strong>${0:$SELECTION}</strong>" } },
{ "keys": ["super+alt+i"], "command": "insert_snippet", "args": {"contents": "<em>${0:$SELECTION}</em>" } },
{ "keys": ["super+alt+u"], "command": "insert_snippet", "args": {"contents": "<u>${0:$SELECTION}</u>" } },
{ "keys": ["super+alt+down"], "command": "insert_snippet", "args": {"contents": "<sub>${0:$SELECTION}</sub>" } },
{ "keys": ["super+alt+up"], "command": "insert_snippet", "args": {"contents": "<sup>${0:$SELECTION}</sup>" } },

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@rodrigoea
rodrigoea / Box Sizing
Created January 24, 2014 13:43
The box-sizing property allows you to define certain elements to fit an area in a certain way.
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}