Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Design Responsivo: Uma abordagem abrangente
Search
Plataformatec
July 20, 2012
Design
2
210
Design Responsivo: Uma abordagem abrangente
Workshop realizado no Ndesign.
Plataformatec
July 20, 2012
Tweet
Share
More Decks by Plataformatec
See All by Plataformatec
O case da Plataformatec com o Elixir - Como uma empresa brasileira criou uma linguagem que é usada no mundo inteiro @ Elixir Brasil 2019
plataformatec
5
1.2k
O case da Plataformatec com o Elixir - Como uma empresa brasileira criou uma linguagem que é usada no mundo inteiro @ QCon SP 2018
plataformatec
1
240
Elixir @ iMasters Intercon 2016
plataformatec
1
270
GenStage and Flow by @josevalim at ElixirConf
plataformatec
17
2.9k
Elixir: Programação Funcional e Pragmática @ 2º Tech Day Curitiba
plataformatec
2
310
Elixir: Programação Funcional e Pragmática @ Encontro Locaweb 2016
plataformatec
4
300
What's ahead for Elixir: v1.2 and GenRouter
plataformatec
15
2.2k
Arquiteturas Comuns de Apps Rails @ RubyConf BR 2015
plataformatec
6
400
Pirâmide de testes, escrevendo testes com qualidade @ RubyConf 2015
plataformatec
10
2.4k
Other Decks in Design
See All in Design
企業にデザインが融けたとき、デザイナーにできること。事業会社12年間の探究と葛藤 / Designship2025
visional_engineering_and_design
0
1.3k
見過ごさない誠実さ_アクティブバイスタンダーとIntegrityが支えるアジャイル文化 / integrity-and-active-bystander
spring_aki
1
260
What makes a great Director?
_limex_
0
410
デザインを信じていますか
sekiguchiy
1
750
Franks Myth
gfht1
0
390
越境するデザイン人材:デザイナーが社会資本となる世界へ
goodpatch
1
440
保育AIプロダクトの UXデザインで考えてきたこと / hoiku-ai-ux-design
hiro93n
0
240
Liquid GlassとApp Intents
touyou
0
630
ユーザー体験は細部に宿る -ウィジェットQAの挑戦と気づき- / UX is in the details: Challenges and Learnings from Widget QA
bitkey
PRO
0
130
佐藤千晶|ポートフォリオ
chimi_chia
0
440
公開スライド)熊本市様-電子申請中級編
garyuten
0
620
Figmaレクチャー会Part1 基本のき編@千株式会社 社内勉強会
designer_no_pon
0
180
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
180
How Software Deployment tools have changed in the past 20 years
geshan
0
30k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Deep Space Network (abreviated)
tonyrice
0
32
Statistics for Hackers
jakevdp
799
230k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
51k
Accessibility Awareness
sabderemane
0
28
The SEO Collaboration Effect
kristinabergwall1
0
320
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
69
4 Signs Your Business is Dying
shpigford
187
22k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
DESIGN RESPONSIVO Uma abordagem abrangente N jeitos BH 2012
None
BRUNA KOCHI @brutiko
[email protected]
ROGER ROSSI @_utgardloki
[email protected]
A OFICINA HISTÓRICO PRODUÇÃO BOAS PRÁTICAS
1990 Criado para distribuição e colaboração de informação Tim-Berners-Lee lança
o protocolo http (Hypertext Transfer Protocol) HISTÓRICO DO DESIGN NA WEB
HISTÓRICO DO DESIGN NA WEB
None
None
Designers começaram a trazer toda a experiência p/ web Necessidade
de diferenciar a web HISTÓRICO DO DESIGN NA WEB *
HISTÓRICO DO DESIGN NA WEB tipografia | diagramação | contraste
| posicionamento
HISTÓRICO DO DESIGN NA WEB tipografia | diagramação | contraste
| posicionamento
HISTÓRICO DO DESIGN NA WEB Passaram a aplicar o mesmo
estilo na Web
HISTÓRICO DO DESIGN NA WEB Layout em tabelas
1998 Layouts de forma semântica, uso de tabelas apenas para
dados tabulares Movimento Tableless Html propósito original HISTÓRICO DO DESIGN NA WEB
HISTÓRICO DO DESIGN NA WEB Css Zen Garden
None
None
None
None
WEB 1.0 quase não existia a interação com o usuário
Conteúdo de leitura HISTÓRICO DO DESIGN NA WEB
TECNOLOGIA poucos dispositivos acesso limitado à internet HISTÓRICO DO DESIGN
NA WEB internet discada
Primeiros computadores pessoais | 80s
PC
PC Monitor LCD |
MicroTac Motorola | 1996
Nokia 9000 | 1996
Smartphones | 2012
Tablets | 2012
imac | 2012
Novo ipad | 2012
Resoluções 1024x768px
Resoluções 1024x768px Smartphone Tablet Netbook Desktop 320px 768px 1024px 1600px
ACESSOS Uso 24 horas Todo mundo conectado HISTÓRICO DO DESIGN
NA WEB Acessibilidade
None
None
None
None
WEB 2.0 Uma nova forma de uso, o usuário agora
é participativo Web como plataforma HISTÓRICO DO DESIGN NA WEB Pensar num layout dinâmico
None
None
DESIGN RESPONSIVO Exibir todo conteúdo em diferentes dispositivos, adequado e
acessível
DESIGN RESPONSIVO
None
None
None
RESPONSIVO flexível media queries boas práticas DESIGN
None
None
GOLDEN RULE TARGET ÷ CONTEXTO = DIMENSÃO
ESTRUTURA target ÷ contexto = dimensão Trocar as larguras fixas
por porcentagem 1000px = 100% 600px ÷ 1000 = 60% 340px ÷ 1000 = 34%
600px 340px 1000px
TIPOGRAFIA target ÷ contexto = dimensão target tamanho da fonte
que vc quer redefinir (em px) contexto tamanho da fonte base, que veio do body (16 px no caso) dimensão resultado em
22px / 24px 18px / 20px 14px / 20px
Tipografia - medidas base body { background: #fafafc; font-family: Georgia,
'Palatino', serif; font-size: 16px; height: 100%; line-height: 18px; }
body { background: #fafafc; font-family: Georgia, 'Palatino', serif; font-size: 100%;
height: 100%; line-height: 1.5em; } /* font-size: 16px; Trocar para porcentagem */ /* 100% equivale a 16px na maioria dos browsers */ Tipografia - medidas base
#content article p { font-size: 14px; line-height: 20px; } #content
article p { font-size: 0.875em; /* 14px ÷ 16px = 0.875em */ line-height: 1.25em; /* 20px ÷ 14px = 1.42857em */ } Tipografia - redefinindo medidas
MEDIA QUERIES all, braille, embossed, handheld, print, projection, screen, speech,
tty, tv TIPOS
MEDIA QUERIES @media screen and (max-width: 1200px) { /* insert
styles here */ } <link rel=”stylesheet” href=”wide.css” media=”screen and (min-width: 1200px)”/> ou USO
BOAS PRÁTICAS Para conseguir funcionar html5 e css3 no IE
ie7-js, ie8-js do google modernizer.js HTML5 e CSS3
BOAS PRÁTICAS Plugin de auxílio de grid 960.js GRID
BOAS PRÁTICAS Sempre vai baixar o tamanho menor de imagem,
verifica sem tem e permite uma resolução maior e carrega a maior. O ruim é ter 2 requests. https://github.com/teleject/hisrc Hisrc
BOAS PRÁTICAS Funciona como a tag video <picture alt="description"> <source
src="small.jpg"> <source src="medium.jpg"> <source src="large.jpg"> Define um source p/ cada tamanho de imagem. Tag picture
BOAS PRÁTICAS Melhora contínua IE FIREFOX CHROME ... Progressive Enhancement
BOAS PRÁTICAS Sempre melhor adicionar do que subtrair Esboce seu
layout para as versões Mobile First
REFERÊNCIAS http://mediaqueri.es/ http://www.evolutionoftheweb.com/ http://dabblet.com/ http://css-tricks.com/which-responsive-images-solution-should-you-use/
RESPONSIVO adaptável flexível otimizado DESIGN