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
Aly Fluckey
August 06, 2018
Technology
0
68
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
75
Design 101: Tips & Tricks
wtfluckey
0
170
Design Stuffs
wtfluckey
0
200
Risk & Happiness
wtfluckey
0
120
Neo Apprentices
wtfluckey
0
79
Other Decks in Technology
See All in Technology
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
360
アクセス制御にまつわる改善 / Improving access control
itkq
0
510
ChatGPT for IT Service Management (IT Pro)
dahatake
7
1.5k
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
2
440
On Your Data を超えていく!
hirotomotaguchi
2
650
Databricks における 『MLOps』
databricksjapan
2
170
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
330
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
180
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
870
VS CodeでAWSを操作しよう
smt7174
7
1.6k
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
130
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Featured
See All Featured
How GitHub (no longer) Works
holman
304
140k
Agile that works and the tools we love
rasmusluckow
325
20k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
Being A Developer After 40
akosma
57
580k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
990
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
RailsConf 2023
tenderlove
3
540
Become a Pro
speakerdeck
PRO
11
4.5k
A designer walks into a library…
pauljervisheath
200
23k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
The Invisible Side of Design
smashingmag
294
49k
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