Skip to content

Instantly share code, notes, and snippets.

View felipefialho's full-sized avatar
:octocat:
working at @juntossomosmais and @frontendbr 🙃

Felipe Fialho felipefialho

:octocat:
working at @juntossomosmais and @frontendbr 🙃
View GitHub Profile
// ==================================================
// IE Checker
// ==================================================
function isIE(userAgent) {
userAgent = userAgent || navigator.userAgent;
return userAgent.indexOf('MSIE ') > -1 || userAgent.indexOf('Trident/') > -1 || userAgent.indexOf('Edge/') > -1;
}
@felipefialho
felipefialho / zepto.smoothScroll.js
Last active June 22, 2016 00:39 — forked from austinpray/zepto.smoothScroll.js
Zepto.js smooth vertical scrolling method. Implementing this code turns all anchor links with the class "scrollTo" into smooth scrolling anchor links. Rework of the foundation.js library method.
// ==================================================
// Smooth Scroll
// ==================================================
function smoothScroll(el, to, duration) {
'use strict';
if (duration < 0) {
return;
0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\Felipe\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@3.5.3
3 info using node@v5.11.1
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree

Teste para projetos responsivos

##Problema Testar/verificar a disposição dos elementos de uma determinada página em determinadas resoluções de tela.

Solução

Executar captura de telas de acordo com os viewports definidos em um script, com a ajuda do PhantomJS.

Necessário ter o node e o npm instalados

desenvolvedor front-end jr

Trendi

(região da berrini, são paulo - sp)

  • regime: CLT
  • escolaridade: segundo grau completo
  • conhecimento necessário:
    • html (3)
  • css (3)