🎯 CSS Battle Dimanche, 1 Mars 2026
youtu.be/qCzbeQ4VUwc
#CSSBattle #WebDesign #CodingLife #CSS #Frontend #WebDev #CleanCode #LinearGradient #CSSVariables #CodeGolfing #WebDevelopment #SundayCoding
Latest posts tagged with #CssVariables on Bluesky
🎯 CSS Battle Dimanche, 1 Mars 2026
youtu.be/qCzbeQ4VUwc
#CSSBattle #WebDesign #CodingLife #CSS #Frontend #WebDev #CleanCode #LinearGradient #CSSVariables #CodeGolfing #WebDevelopment #SundayCoding
そしてこうなってくると、#Tailwind はもう #CSSVariables だけでいいんじゃない?という気持ちにもなって、だったら #OpenProps のほうが使いやすいんだよなーという気持ちがある
Open Props: sub-atomic styles
https://open-props.style/
It's definitely not perfect but I made a thing! It's a shiny card effect 🎴 with 3d perspective, done in mostly-pure CSS with a bit of Javascript for cursor positions etc.
📱 Doesn't work very well on mobile at the moment though - it's on my todo list.
In other news, CSS container queries are […]
Relative Colors in CSS
youtu.be/TI-OVY11HD4?...
#cssvariables #hsl
#CSSVariables をはじめ #CSS まわりの最近の進化はほんともっと注目されてよいと思っている。
#CSS ってなんか最近のフロントエンドでも「低レイヤーの話」みたいになっちゃってて、目新しいフレームワークっぽいシャレた名前もない「 #CSS の新機能!」っていっても、なんかいまいち盛り上がりきらない感があるような気がするんだけど、 #CSS はいま素で書くだけでもすごい強力になってきている(むしろフレームワークに寄らずに素の CSS 書きたい気持ちがある
#Misskey :misskey: の中の人が #CssVariables とか #RelativeColorSyntax について書いてくれてとても俺得な記事だった :amaze:
最近はここに #oklch 関数も組み込めるので、さらに進化が進んでいる…
CSS Variablesはここまで進化した
https://gihyo.jp/article/2025/04/misskey-19
🎨 明度・彩度・色相もそれぞれ変数化できる #CssVariables
🧮 特定の色を相対的に変化可能な #RelativeColorSyntax
🌈 色をより人間の知覚に近い形で扱える #oklch
このあたりは、現存するどのデザインツールよりも、現在のブラウザーで使える #CSS の機能のほうが柔軟で拡張性が高い。
…あれ、ということはやっぱり最強のデザインツールは #CSS なのでは :vivaldia_1:
Red text "Pure CSS Mixin for Displaying Values of Custom Properties" with medium pink background on light pink background with illustrated magnifying glass on bottom right
🥤 Pure CSS Mixin for Displaying Values of Custom Properties
by Roman Komarov @kizu@front-end.social
#CSSVariables #CSSCounters #CSSLayers #Experiment #Practical #CSS #webdev #CSSMixin
kizu.dev/preview-mixin/
🚀 CSS Variables UX boost Sneek Peek!
Whether you're a keyboard warrior or mouse wrangler, selecting vars is now buttery smooth. Type '--' or click '+' and watch the magic happen. Making CSS customization faster than ever! ⚡️
#wordpress #pagebuilder #nocode #css #cssvariables
An insider view in our figma file, showing css variables dropdown component, with tooltips, comments etc.
Wrapping up the working week with some tweaks of @builderius.bsky.social #cssvariables dropdown, available in every input. Tuning in all the interactions to get max workflow benefits out of the tool. <3
#wordpress #nocode #pagebuilder #css
:root { /* 品牌色系 */ --brand-primary: #4834d4; --brand-secondary: #686de0; --brand-accent: #be2edd; /* 間距系統 */ --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 2rem; /* 字體系統 */ --font-heading: 'Poppins', sans-serif; --font-body: 'Inter', sans-serif; } .card { font-family: var(--font-body); padding: var(--space-md); background: var(--brand-primary); border-radius: var(--space-xs); }
《CSS 自定義屬性 - 打造品牌主題》
想讓網站換裝更輕鬆?CSS 變數是你的最佳助手!就像把網站穿搭交給專業的造型師 👔
整個網站的風格,就靠這些變數統一調配。需要改版?修改變數就搞定!
#前端開發 #CSS #CSSVariables #主題設計
:root { --primary-color: #3498db; /* 主色調,想換就換!*/ --spacing-unit: 8px; /* 間距單位,一次到位 */ --border-radius: 4px; /* 圓角,統一好看 */ } .button { background: var(--primary-color); padding: calc(var(--spacing-unit) * 2); border-radius: var(--border-radius); box-shadow: 0 var(--spacing-unit) calc(var(--spacing-unit) * 2) rgba(0,0,0,0.1); }
《CSS 變數 - 樣式重構的救星》
還在為了改個顏色要改 50 個檔案而抓狂嗎?CSS 變數來拯救你了!就像給你的寵物取暱稱一樣,我們也能幫 CSS 屬性取個好記的名字 🐱
}
想像一下,這就像是幫你的專案建立了一個「造型指揮中心」。需要全站換色系?一行代碼搞定!維護起來不要太輕鬆~
專業提示:善用 CSS 變數不只讓你的程式碼更乾淨,還能讓團隊合作更順暢。畢竟,誰不想要一個好維護的專案呢?
#前端開發 #CSS #CSSVariables #程式碼整潔之道
On orange background: Small Black text: Querying the Big White text: Color Scheme
🟠 Querying the Color Scheme
by Roma Komarov
@kizu@front-end.social
#StyleQueries #ColorScheme #CSSVariables #css #webdev
blog.kizu.dev/querying-the...
#tinyCSStip CSS vars more useful than data attrs for adding currency/ other pref/ suff.
⚠️
.v::after { content: attr(data-u) }
works iff you set data-u='€' attr on every single .v element
✅
.v::after { content: var(--u) }
works fine if you set --u:'€' only once on a wrapper
#CSS #cssVariables
Are you ready to take your CSS skills to the next level?
Discover the magic of CSS Variables and how they can revolutionize your web design process! 💻
Read Full Article- skillivo.in/css-variable...
#WebDesign #CSS #CSSVariables #WebDevelopment #WebDesignTips #CodePassion #Skillivo
@property: Next-Gen #CSSVariables Now with Universal Browser Support — The @property rule, part of the #CSSHoudini umbrella of APIs || #CSS #WebDev #FrontendDev
White text on blue background: The Times You Need A Custom @property Instead Of A CSS Variable
🔵The Times You Need A Custom @property Instead Of A CSS Variable
by Preethi Sam at @smashingmag
#CustomProperty #CSSvariables #css #webdev
www.smashingmagazine.com/2024/05/time...
Dark green text on pink background: "Layered Toggles: Optional CSS Mixins"
🟢🔴 Layered Toggles: Optional CSS Mixins
by Roma Komarov @kizu@front-end.social @kizmarh
#CSSLayers #CSSVariables #CSSLogic #StyleQueries #Experiment #Practical #CSS
kizu.dev/layered-togg...
Black red text on pink background: An advanced way to use CSS variables
🧪 An advanced way to use CSS variables
by Chris Ferdinandi @ChrisFerdinandi @cferdinandi@mastodon.social
#css #cssVariables #webdev
gomakethings.com/an-advanced-...
Violet text on lilac background: CSS variables
🟪 -- CSS variables
by Chris Ferdinandi @ChrisFerdinandi
@cferdinandi@mastodon.social
#css #webdev #cssVariables
gomakethings.com/css-variables/
On click on black circle menu on top right, opens a black menu with multiple controllers including a color picker. White text on black: Number X Width px Height Width preset px 20 150 500 Align boxes Type & Hattibier Ba 200 nice pixels 500 Radius of the big square here % Box color Page background Hide boxes Knobs Self Parameters Compact View Space between knobs px Knobs Background Slider Color Text Color Custom HTML with label 12 Gel Knobs →
Knobs - UI controllers for JS/CSS manipulation
by Yair Even Or
UI knobs controllers for JS/CSS live manipulation of various parameters
#js #knobs #controllers #CSSvariables #CustomProperties
github.com/yairEO/knobs
Black text on white background: The easiest way to get and set CSS Variables in JavaScript
▪️ The easiest way to get and set CSS Variables in JavaScript
by Zell Liew @zellwk
#css #CSSvariables #js #webdev
zellwk.com/blog/css-var...
I implemented dark mode with an optional user override last week. Here’s how I did it:
#WordPress #SASS #SCSS #CSS #CSSvariables #ECMAScript2015 #JavaScript #PHP #darkmode
messengerwebdesign.com/2020/11/10/imp…