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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Glauber
November 01, 2016
Technology
93
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
Transcript
30 slides
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
More Decks by Glauber
See All by Glauber
Hola Flexbox
glauberamos
0
72
Fun retro board
glauberamos
0
130
Guia de estilo
glauberamos
0
89
Lowsumerism
glauberamos
0
120
JS Basics
glauberamos
0
130
Continuous Design
glauberamos
0
52
Arquitetura e boas práticas de CSS
glauberamos
1
700
Design Evolutivo focado na Experiência do Usuário
glauberamos
5
2k
Other Decks in Technology
See All in Technology
Sonnetだけで業務はまわる?
kintotechdev
1
140
速くなった開発の効果をどう推し量るのか
bulbulpaul
0
130
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
570
Community Over Code Glasgow 2026 + Lakehouse Day recap
lycorptech_jp
PRO
1
120
Where Should Platform Complexity Live? Lessons from a Cross-Team PR Preview Platform
taiki45
0
130
WasmをRustにする技術
sansantech
PRO
1
110
変更差分を読むために環境を整備しよう
pipepasta
1
450
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
_マネジメントする人される人ナイト_2026__良いチームを作っていきたい_お気持ち_.pdf
xkxaxkx
0
770
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
150
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
160
会社説明資料_最新版
demaecan
0
32k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Why Our Code Smells
bkeepers
PRO
340
58k
Unsuck your backbone
ammeep
672
58k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Designing Experiences People Love
moore
143
24k
Exploring anti-patterns in Rails
aemeredith
4
570
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Crafting Experiences
bethany
1
440
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
840
How GitHub (no longer) Works
holman
316
150k