Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Arquitetura e boas práticas de CSS 2.0
Search
Glauber
November 01, 2016
Technology
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arquitetura e boas práticas de CSS 2.0
Glauber
November 01, 2016
More Decks by Glauber
See All by Glauber
Hola Flexbox
glauberamos
0
69
Fun retro board
glauberamos
0
130
Guia de estilo
glauberamos
0
82
Lowsumerism
glauberamos
0
120
JS Basics
glauberamos
0
130
Continuous Design
glauberamos
0
50
Arquitetura e boas práticas de CSS
glauberamos
1
690
Design Evolutivo focado na Experiência do Usuário
glauberamos
5
2k
Other Decks in Technology
See All in Technology
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
130
Meet AgentCore Identity Consent Portal
hironobuiga
3
170
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
180
VS Code × GitHub Copilot での Fabric 開発
ryomaru0825
1
220
AWS DevOps Agent スキルをつかいこなそう / Master AWS DevOps Agent Skills
kinunori
2
670
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
150
[2026 Oracle Technical Deep Dive] AI時代のデータベース基盤をどう選ぶ? Exadata Database Serviceの選択肢と使い分け (2026年9月17日開催)
oracle4engineer
PRO
0
200
プラットフォームを「作る」、 チームに「入り込む」
sansantech
PRO
0
580
Swap and Memory Reclaim - Squeezing Out More RAM
ennael
PRO
1
1.5k
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
18
14k
並行性の問題を防げ!実践トランザクション入門
occhi
0
240
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
280
Featured
See All Featured
New Earth Scene 8
popppiees
4
2.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Docker and Python
trallard
47
4.2k
The Limits of Empathy - UXLibs8
cassininazir
1
700
Accessibility Awareness
sabderemane
1
230
Odyssey Design
rkendrick25
PRO
2
850
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
390
Unsuck your backbone
ammeep
672
58k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Done Done
chrislema
187
17k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
GitHub's CSS Performance
jonrohan
1033
470k
Transcript
Arquitetura e boas práticas de CSS Glauber Ramos
Agenda Metodologias Dicas Ferramentas
METODOLOGIAS
None
None
None
None
None
Nomenclatura SUIT
DICAS
USAR NOMES SEMÂNTICOS .three-of-eight .button-blue .container .button-primary Estilo para CSS,
função para HTML BAD GOOD
TAGS SEMÂNTICAS .component { .link { } } .component {
a { } } BAD GOOD
.component { .component-child { a { } } } NESTING
Não mais que 3 níveis .component { } .component-child { a { } } BAD GOOD
NÃO USAR ID'S #submit-button { } .primary-button { } BAD
GOOD
None
Z-INDEX .primary-button { z-index: 9999; } .primary-button { z-index: 10;
} Valores entre 0 e 20 BAD GOOD
None
CUIDAR O CSS GERADO
FERRAMENTAS
None
FLEXBOX VS GRIDS
None
None
None
None
None
PARKER
Melhorias https://github.com/aceleradora-TW/HemoHeroes Arquivos vazios: 3 (donators.scss, users.scss, demand_blood_banks.scss) Cores: 17
cores diferentes Importants: 275
LInks https://github.com/sotayamashita/awesome-css#code-style-guideline-book https://github.com/airbnb/css https://medium.com/@fat/mediums-css-is-actually-pretty-fucking-good-b8e2a6c78b06#.ehy9y3gut https://hackernoon.com/css-at-bbc-sport-part-1-bab546184e66#.p5ix83wv1 https://medium.com/javascript-and-opinions/state-of-the-art-javascript-in-2016-ab67fc68eb0b #.363ylsknl http://markdotto.com/2014/07/23/githubs-css/ http://ianfeather.co.uk/css-at-lonely-planet/ https://github.com/suitcss/suit
https://www.sitepoint.com/bem-smacss-advice-from-developers/ http://www.hongkiat.com/blog/css-writing-methodologies/ http://sixrevisions.com/css/css-methodologies/ http://maintainablecss.com/ http://www.universalmind.com/blog/css-modules%E2%80%8A-%E2%80%8Asolving-the-challenges-of-c ss-at-scale/ http://thesassway.com/advanced/modular-css-naming-conventions http://acss.io/ smacss.com/book/ https://github.com/jareware/css-architecture
None