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
Delightful Stylesheets - That Conference
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Aly Fluckey
August 06, 2018
Technology
0
84
Delightful Stylesheets - That Conference
Aly Fluckey
August 06, 2018
Tweet
Share
More Decks by Aly Fluckey
See All by Aly Fluckey
Delightful Stylesheets
wtfluckey
0
87
Design 101: Tips & Tricks
wtfluckey
0
180
Design Stuffs
wtfluckey
0
220
Risk & Happiness
wtfluckey
0
140
Neo Apprentices
wtfluckey
0
84
Other Decks in Technology
See All in Technology
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
170
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
370
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
450
Cosmos World Foundation Model Platform for Physical AI
takmin
0
940
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
320
配列に見る bash と zsh の違い
kazzpapa3
3
160
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
プロポーザルに込める段取り八分
shoheimitani
1
470
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
260
Webhook best practices for rock solid and resilient deployments
glaforge
2
300
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Building AI with AI
inesmontani
PRO
1
700
How to train your dragon (web standard)
notwaldorf
97
6.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
Building the Perfect Custom Keyboard
takai
2
690
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Transcript
None
None
DELIGHTFUL STYLESHEETS
''CSS IS HARD'' - ME, MANY TIMES - ALSO, THE
INTERNET
None
None
CSS IS HARD BUT IT DOESN'T HAVE TO BE
THE CASCADE (IT'S A FEATURE, NOT A )
THE CASCADE 1. SOURCE ORDER 2. SPECIFICITY 3. IMPORTANCE
1. SOURCE ORDER p { color: blue; } p {
color: red; }
2. SPECIFICITY
2. SPECIFICITY p.paragraph { color: blue; } p { color:
red; }
3. IMPORTANCE p { color: purple !important; }
!IMPORTANT
CSS IS HARD WHEN YOU IGNORE THE CASCADE
SO WHAT NOW? WHAT CAN WE DO TO SAVE US
FROM OURSELVES?
ORGANIZATION & COMPONENTIZATION
ORGANIZATION WITH ITCSS BY HARRY ROBERTS
INVERTED TRIANGLE CSS
PHILOSOPHY NOT A FRAMEWORK
None
None
VARIABLES CONTAIN FONTS, COLORS, MEASUREMENTS, ETC
TOOLS GLOBALLY USED MIXINS AND FUNCTIONS
GENERAL RESET AND/OR NORMALIZE STYLES, BOX-SIZING DEFINITION
BASE ELEMENTS STYLING FOR HTML ELEMENTS h1, a, p, input
COMPONENTS SPECIFIC COMPONENTS UNIQUE TO THE DESIGN .panel, .form
UTILITIES UTILITIES AND HELPER CLASSES WITH ABILITY TO OVERRIDE .is--hidden
None
WHAT DOES THIS BUY US?
REUSABE & SCALABLE
REDUCE SPECIFICITY
LESS WASTE, SMALLER FILES
MORE DELIGHTFUL
ORGANIZATION & COMPONENTIZATION
DISCRETE SELF-CONTAINED REUSABLE
None
SET UP BASE STYLES FIRST > fonts > colors >
sizing & measurements > layout
None
None
None
None
1. text components > section header > title & subtitle
2. entry components > entry > image > content > featured entry
None
None
Next is the entry components
None
None
None
ALMOST DONE! > Featured entry styling > Responsiveness
None
None
ORGANIZATION & COMPONENTIZATION
None
None
None
None
THANK YOU!
ALY FLUCKEY @WTFLUCKEY
None