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
Arquitetura e boas práticas de CSS 2.0
Search
Glauber
November 01, 2016
Technology
0
70
Arquitetura e boas práticas de CSS 2.0
Glauber
November 01, 2016
Tweet
Share
More Decks by Glauber
See All by Glauber
Hola Flexbox
glauberamos
0
56
Fun retro board
glauberamos
0
110
Guia de estilo
glauberamos
0
62
Lowsumerism
glauberamos
0
100
JS Basics
glauberamos
0
120
Continuous Design
glauberamos
0
39
Arquitetura e boas práticas de CSS
glauberamos
1
660
Design Evolutivo focado na Experiência do Usuário
glauberamos
5
1.9k
Other Decks in Technology
See All in Technology
「Roblox」の開発環境とその効率化 ~DAU9700万人超の巨大プラットフォームの開発 事始め~
keitatanji
0
120
Lambda management with ecspresso and Terraform
ijin
2
160
リリース2ヶ月で収益化した話
kent_code3
1
260
Intro to Software Startups: Spring 2025
arnabdotorg
0
250
Oracle Cloud Infrastructure:2025年7月度サービス・アップデート
oracle4engineer
PRO
1
190
AWS DDoS攻撃防御の最前線
ryutakondo
1
150
バクラクによるコーポレート業務の自動運転 #BetAIDay
layerx
PRO
1
950
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
140
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
6.3k
Claude Codeは仕様駆動の夢を見ない
gotalab555
23
6.5k
九州の人に知ってもらいたいGISスポット / gis spot in kyushu 2025
sakaik
0
160
Amazon Bedrock AgentCoreのフロントエンドを探す旅 (Next.js編)
kmiya84377
1
140
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
How STYLIGHT went responsive
nonsquared
100
5.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Navigating Team Friction
lara
188
15k
Practical Orchestrator
shlominoach
190
11k
The Cult of Friendly URLs
andyhume
79
6.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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