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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Glauber
November 01, 2016
Technology
78
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
64
Fun retro board
glauberamos
0
120
Guia de estilo
glauberamos
0
76
Lowsumerism
glauberamos
0
110
JS Basics
glauberamos
0
130
Continuous Design
glauberamos
0
45
Arquitetura e boas práticas de CSS
glauberamos
1
680
Design Evolutivo focado na Experiência do Usuário
glauberamos
5
2k
Other Decks in Technology
See All in Technology
なぜ、あなたのエージェントは言うことを聞かないのか
segavvy
1
510
大 AI 時代におけるC# の事情 ~ぶっちゃけトークを交えながら~
nenonaninu
1
200
kaonavi Tech Night#1
kaonavi
0
170
Claude CodeとAmazon Bedrock AgentCoreでつくる、自分だけのAIアシスタント
ymae
0
110
文字起こし基盤の信頼性
abnoumaru
0
140
発表と総括 / Presentations and Summary
ks91
PRO
0
210
「顧客の声を聞かなければ何も始まらない」 ── 顧客の声から生まれた『AI返信補助機能』の開発プロセス / AICon2026_shikata_imai
rakus_dev
1
290
仕様駆動開発、導入半年。「本当に速くなってるの?」にデータで答える / AICon2026_hirakawa
rakus_dev
0
350
VPCセキュリティ対応の最新事情
nagisa53
1
330
人とエージェントが高め合う協業設計
kintotechdev
0
930
Git 研修【MIXI 26新卒技術研修】#2
mixi_engineers
PRO
1
220
Multicaで30個のミニプロジェクトをAIエージェント運用して見えてきたこと
eiei114
1
660
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
Optimizing for Happiness
mojombo
378
71k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
320
Building Adaptive Systems
keathley
44
3.1k
Accessibility Awareness
sabderemane
1
160
How STYLIGHT went responsive
nonsquared
100
6.2k
Technical Leadership for Architectural Decision Making
baasie
3
450
Automating Front-end Workflow
addyosmani
1370
210k
Odyssey Design
rkendrick25
PRO
2
730
Tell your own story through comics
letsgokoyo
1
1k
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