Skip to content

Instantly share code, notes, and snippets.

View felipescalice's full-sized avatar

Felipe Scalice felipescalice

  • Felipe Scalice
  • Brasil
View GitHub Profile
@felipescalice
felipescalice / media-query.css
Created June 27, 2018 14:34 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
@felipescalice
felipescalice / alt-cron.php
Created December 7, 2017 22:37 — forked from danielpataki/alt-cron.php
WordPress Config File
define( 'ALTERNATE_WP_CRON', true );
@felipescalice
felipescalice / sublime-text-3-setup.md
Created June 10, 2016 18:35 — forked from ijy/sublime-text-3-setup.md
My Sublime Text 3 setup.

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following:

Bringing BEM to inuit.css

BEM is a methodology for naming and classifying CSS selectors in a way to make them a lot more strict, transparent and informative.

The naming convention follows this pattern:

.block{}
.block__element{}
.block--modifier{}

Componentes de Template

Usado para prover templates estruturados.

Padrão

t-template
t-template--modificador
t-template__subcomponente--modificador