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
CSS Custom Properties
Search
Matija Marohnić
March 13, 2019
Programming
50
0
Share
CSS Custom Properties
Matija Marohnić
March 13, 2019
More Decks by Matija Marohnić
See All by Matija Marohnić
oxlint & oxfmt: linting and formatting from the future
silvenon
0
21
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
11
Introduction to Remix
silvenon
0
150
Cypress vs. Playwright
silvenon
0
170
Studying Strapi: an open source head headless CMS
silvenon
0
52
CSS Specificity
silvenon
0
50
Make your JavaScript projects more accessible to newcomers
silvenon
0
84
React Hooks
silvenon
0
88
PostCSS
silvenon
0
50
Other Decks in Programming
See All in Programming
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
280
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
The free-lunch guide to idea circularity
hollycummins
0
400
PHPで TLSのプロトコルを実装してみる
higaki_program
0
730
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
120
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
240
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
安いハードウェアでVulkan
fadis
1
870
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
880
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Technical Leadership for Architectural Decision Making
baasie
3
300
Designing for Performance
lara
611
70k
Skip the Path - Find Your Career Trail
mkilby
1
93
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
140
Amusing Abliteration
ianozsvald
1
150
The untapped power of vector embeddings
frankvandijk
2
1.7k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Transcript
CSS Custom Properties a.k.a. CSS Variables
Sass
Sass → CSS
CSS
CSS
What’s the big deal? • part of CSS specification •
no compilation • dynamic ✨
“Dynamic”…? Behold… *drumroll*
None
Custom Properties CSS Custom Properties are a new feature in
CSS. I encourage you to experiment with them! 320px 2rem 1rem
Custom Properties CSS Custom Properties are a new feature in
CSS. I encourage you to experiment with them! 1440px 3rem 1.5rem
None
Giving you some information. Warning you about a potential problem.
Telling you about a serious error.
None
BTW
JavaScript? Demo time!
Browser support tl;dr no IE
Polyfill? Not really
Fallback? Yes. Browsers ignore declarations that they don’t understand.
None
postcss-custom-properties PostCSS plugin that automatically adds fallbacks for CSS Custom
Properties!
Try using Custom Properties today! --thanks-for: “listening”;