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
RSCSS Reasonable System for CSS - Como construi...
Search
Aline Bispo
April 16, 2018
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RSCSS Reasonable System for CSS - Como construir um CSS sustentável (ou sem perder sua sanidade)
Nesta apresentação, falamos sobre metodologias em CSS, em específico RSCSS e suas atribuições
Aline Bispo
April 16, 2018
Other Decks in Technology
See All in Technology
Metadata - Section 1: HTML Basics
mohab1
0
120
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.4k
WasmをRustにする
sansantech
PRO
0
260
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
230
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
3
600
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
340
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
890
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.2k
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
300
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Building the Perfect Custom Keyboard
takai
2
910
WENDY [Excerpt]
tessaabrams
14
40k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
エンジニアに許された特別な時間の終わり
watany
109
250k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Scaling GitHub
holman
464
140k
Transcript
RSCSS Reasonable System for CSS Como construir um CSS sustentável
(ou sem perder sua sanidade)
Por que usar metodologias para CSS?
None
CSS: leitura clara?
Nomenclatura BEM no HTML
Por que RSCSS? • CSS mais limpo • Componentes autossuficientes
• Responsabilidade única
O que são componentes? • Autosuficiente • Genérico • Reutilizável
Componentes Nomear componentes com, pelo menos, duas palavras .like-button .search-form
.article-card .section-custom-header
Elementos • Nomear com uma palavra • Se precisar de
mais de uma palavra, use concatenação • Child Selector • Use nomes de classe sempre que possível em vez de seletores HTML
Variações Nomes de classes que representam variações começam com um
traço( - ) Componentes e Elementos podem ter variações
Componentes aninhados Variações no componente interno em vez de tentar
alcançar através do componente que o contém
• Evitar propriedades de posicionamento em componentes ◦ Exceto elementos
com tamanho fixo (avatares, logos, etc.) • Se necessário, utilize um componente que engloba outro Layouts
Classes auxiliares (helpers) • Classes CSS de propósito geral que
sobrepõem valores • Nomeadas com _ (underline) • Arquivo único para todos os helpers
• Um arquivo *.sass por componente; • Arquivo principal incluindo
componentes via glob. Ex.: // index.sass @import 'components/*'; Mais considerações
Dúvidas?
Obrigada :) @joelwallis1 /joelwallis @mari_lih /alinembl