2024-05-08 13:12:39
🎨 What You Need to Know about Modern CSS
#css
🎨 What You Need to Know about Modern CSS
#css
I think #CSSNakedDay is a fun idea!
I’m not participating myself, as I haven’t had time to fix my inline navigation SVGs looking confusingly *noir* without their CSS fills. But you should give these sites a visit! https://
The #css :has selector is a godsend. It's incredible how far styling has come on the internet.
OK, back to making my site banner.
@scope is now live in both Chrome and Safari! This is huge for #CSS. The remaining days of BEM are numbered!
https://keithjgrant.com/posts/2023/04/scoped-css-is-back/
I really like lightweight and modular #CSS frameworks for semantic #HTML like https://simplecss.org/ and
@scope is now live in both Chrome and Safari! This is huge for #CSS. The remaining days of BEM are numbered!
https://keithjgrant.com/posts/2023/04/scoped-css-is-back/
Quick tip: be careful when using the newer #CSS viewport-percentage length units like `svh`, `dvh`, and the like. They are well-supported since late 2022 and quite a few users might still be using older (Android) devices and browsers. So always make sure to test on a few real devices (thanks to my parents in law for their Galaxy Tab 4 😁) and provide fallbacks, e.g. with `vh`.
Just learned from @… that the text-wrap property in #CSS has two new(ish) values: balance and pretty.
“The balance value is good for headings, and tries to balance the number of characters on each line so that each line of the heading is about the same lengt…
🔊 #NowPlaying on KEXP's #Early
CSS:
🎵 Let’s Make Love and Listen to Death From Above
#CSS
https://open.spotify.com/track/1Jd9W7k8DTnBSovDSxK77n
https://ahistoryofemptyrooms.bandcamp.com/track/lets-make-love-and-listen-to-death-from-above-css-cover
Oh how useful text-emphasis would be if it didn’t affect line height.
#CSS
Today for the first time ever I used CSS :has pseudo-class. Surprisingly, it happened at work, in a React project, because the hook-based logic was too convoluted to get the thing done.
I distinctly remember when I had to rewrite portions of my current blog template because :has wasn't supported in Firefox yet.
Viva la web.
#css
I rushed out a leap day post. Something something February 29.
“Techniques to Break Words”
#CSS
Over the last few weeks, I’ve been a really big fan of PicoCSS. Drop a #CSS file in an #HTML file, write some semantic HTML, and it looks nice.
https://picocs…
How to get the #css default back after setting a property on an element with #javascript? In my case display - element.style.removeProperty('display')!
A common talking point of CSS & separation of concerns is the idea that you can just swap out the CSS for different CSS to have a whole new design.
That’s neat and all, but the real-world need is the opposite: the HTML changes ALL. THE. TIME. Write your CSS so it works with changing content.
#css #webdev
🧱 Nue CSS: A scaleable alternative to Tailwind, BEM, and CSS-in-JS
#css
Am I imagining things, or are there features in web browsers’ developer tools to detect synthesized / faux font weights? #webdev #WebDevelopment #CSS
Open-sourcing our progress on #TailwindCSS v4.0 Alpha
It introduces #Oxide for faster builds, smaller footprints, #Rust integration, with a
I *still* would love to be able to strip the unit from a value by dividing by 1 unit in #CSS calc()… 🤔
My team has spent the last year catching up on many upgrades, both language version and frameworks.
The hardest, that require the most reworking? It's not the #PHP stuff. It's the #CSS framework and associated #JavaScript
Transform web designs screenshot into clean #HTML #CSS code with #Design2Code, an #opensource
Hier ein super Video, bin mir ziemlich sicher, das nur wenige hier wissen, was man alles mit #CSS machen kann.
https://youtu.be/_qeno5kpwrw
A while back I created a theme officially featured in Blockbench, but I kinda abandoned it. Since I'm back to working with the program again, I might rewrite the thing.
#Blockbench #CSS
Hier ein super Video, bin mir ziemlich sicher, das nur wenige hier wissen, was man alles mit #CSS machen kann.
https://youtu.be/_qeno5kpwrw
#Tailwind marketing and misinformation engine
https://nuejs.org/blog/tailwind-misinformation-engine/