1033: 8 New CSS, JS and HTML Features You Should Know
Episode notes
Scott and Wes run through eight new CSS, JS, and HTML features landing in browsers; including the relative alpha() color function, the progress() function for calculating values between units, Promise.allKeyed(), and native camera and microphone elements. They also get into an upgraded attr(), shrink-to-fit containers, and text-box-trim for finally killing that annoying extra space above your text.
Show Notes
00:00 Welcome to Syntax!
Wes’s Demo Site
00:22 CSS Alpha() Relative Color Function
Google Groups
02:25 Brought to you by Sentry.io
02:48 CSS CSS Progress() Function: Calculate Values Between Units
05:09 Promise.allKeyed(): Object-Based Promise Resolution
06:55 Camera and Microphone HTML Elements
09:24 Advanced CSS Attr() Function: Props for CSS
11:25 CSS Sibling-Index() and Sibling-Count() Functions
13:56 CSS Shrink-to-Fit Container
15:36 CSS Text-Box-Trim and Text-Box-Edge
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
More from Syntax – Tasty Web Development Treats
All episodes- 1058: Can we still be proud of what we build?
Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share…
Nov 25, 20261 hr 7 min - 1057: Write Once, Deploy Everywhere
Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus…
Nov 23, 20261 hr 12 min - 1056: Convince us that Effect.ts is good
Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of…
Nov 18, 202651 min - 1055: What the hell is going on with GitHub?
Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and…
Nov 11, 202631 min - 1054: Reddit Closing it’s Doors
Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent…
Nov 9, 20261 hr 36 min