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
73
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
60
Fun retro board
glauberamos
0
110
Guia de estilo
glauberamos
0
65
Lowsumerism
glauberamos
0
110
JS Basics
glauberamos
0
120
Continuous Design
glauberamos
0
42
Arquitetura e boas práticas de CSS
glauberamos
1
670
Design Evolutivo focado na Experiência do Usuário
glauberamos
5
1.9k
Other Decks in Technology
See All in Technology
What happened to RubyGems and what can we learn?
mikemcquaid
0
310
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
プロポーザルに込める段取り八分
shoheimitani
1
610
今日から始めるAmazon Bedrock AgentCore
har1101
4
420
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
130
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
170
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
520
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
470
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
160
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
230
Context Engineeringの取り組み
nutslove
0
380
私たち準委任PdEは2つのプロダクトに挑戦する ~ソフトウェア、開発支援という”二重”のプロダクトエンジニアリングの実践~ / 20260212 Naoki Takahashi
shift_evolve
PRO
1
110
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
130
Prompt Engineering for Job Search
mfonobong
0
160
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
A Modern Web Designer's Workflow
chriscoyier
698
190k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The Limits of Empathy - UXLibs8
cassininazir
1
220
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
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