This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Esconde conteúdo visualmente | |
.super-hidden-content | |
border: 0 | |
clip: rect(0 0 0 0) | |
height: 1px | |
margin: -1px | |
overflow: hidden | |
padding: 0 | |
position: absolute | |
width: 1px |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-06-16T15:10:01.028Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const MIN_SCALE = 1; | |
const MAX_SCALE = 4; | |
const SETTLE_RANGE = 0.001; | |
const ADDITIONAL_LIMIT = 0.2; | |
const DOUBLE_TAP_THRESHOLD = 300; | |
const ANIMATION_SPEED = 0.04; | |
const RESET_ANIMATION_SPEED = 0.08; | |
const INITIAL_X = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
%icon-accordion | |
background-repeat: no-repeat | |
background-position: center | |
=iconAccordion($caminho) | |
background-repeat: no-repeat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$pathFont: '../fonts/' | |
@font-face | |
font-family: 'apex_sansbold' | |
src: url('#{$pathFont}apexsans-bold-webfont.woff2') format('woff2'), url('#{$pathFont}apexsans-bold-webfont.woff') format('woff'), url('#{$pathFont}apexsans-bold-webfont.ttf') format('truetype') | |
font-weight: normal | |
font-style: normal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let lista = ['banana', 'maçã', 'manga', 'caju', 'goiaba'] | |
console.log('minha lista', lista); | |
let resultShow = (offset, limit) => { | |
return lista.map((elm, index) => { | |
if(index >= offset && index < limit + offset) { | |
return elm | |
} | |
}).filter((elm, index) => elm !== undefined) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mixing to use font 2.0 | |
@mixin useFont($fontFamily, $fontSize: false){ | |
// $valueFont = Font family + websafe fonts | |
$valueFont: #{$fontFamily, Arial, Verdana, Times}; | |
@if $fontSize != false { | |
font: $fontSize $valueFont; | |
} @else { | |
font-family: $valueFont; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Seguindo o exercício do challenge-11 do curso javascript ninja | |
// Resolvi melhroar um dos exercícios deixando ele de forma mais dinâmica possível e me limitando a usar somente o que | |
// aprendi no curso até agora. | |
// Trate-se de um filtro de números impares e pares junto da programação funcional. | |
function filterNumbers( numberInitial, numberEnd, typeNumbers ) { | |
var listNumber = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSS RESET V1.8 | |
Criado em: 20/03/2012 | |
Desenvolvido por: Luciano Barauna | |
*/ | |
html, | |
body { height:100%; } | |
textarea { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSS RESET V1.8 | |
Criado em: 22/10/2012 | |
Ultima atualizacao em: 10/09/2014 | |
Atualizado em: 14/05/2015 | |
Desenvolvido por: Luciano Barauna | |
*/ | |
* { | |
margin:0; |