Diana Le retweeted
Container queries can be a powerful, efficient replacement for media queries when you want to break down your site into reusable components.
Here's how they work!
{ author: @dianale_dev } #DEVCommunity #CSS
dev.to/dianale/css-layouts-g…
Diana Le retweeted
Images not lining up right? `line-clamp` can help.
{ author: @dianale_dev } #DEVCommunity #CSS
dev.to/dianale/css-typograph…
Diana Le retweeted
Help the @CSSWG choose the syntax for CSS Nesting. This article will walk you through the three options currently under consideration. Read through them, and take a one question survey to weigh in.
webkit.org/blog/13607/help-c…
Diana Le retweeted
🔥 Use CSS :where() to select multiple children inside a parent selector. Super handy for H1 → H6 and selecting all inputs inside a form.
Diana Le retweeted
Want to load your (LCP) hero image sooner?
Try <img fetchpriority=high> to boost its priority. Now used in production by Google Store, eBay, Etsy, Yahoo. Learn more: web.dev/priority-hints
Diana Le retweeted
🎉 We've launched another new web.dev course. Say hello to Learn Accessibility, written by @cariefisher.
Seven modules are available now, and the full course will roll out over the rest of this year. web.dev/introducing-learn-ac…
Diana Le retweeted
Introducing the Frontend Masters Community Sale! frontendmasters.com/sale/ 🎉
We are celebrating the launch of new community features built into the platform with $100 off yearly membership – our first discount in over three years!
Diana Le retweeted
Tiny design detail: nested border radii look really funky if they're the same. To maintain the same curvature, the outer radius = inner radius + padding.
Diana Le retweeted
I forgot this tool exists but @pomber's "Git History" is probably still the most convenient way to check a file's history out there.
githistory.xyz/
Video alt: Inspecting a file's history by using the keyboard to show file additions/deletions.
Diana Le retweeted
🚨 Chrome 105 is a HUGE release! (stable Aug 30)
🤯 :has() & size container queries are BOTH landing!
These are 2 powerhouse APIs for responsive, component-based design. Together they unlock so many possibilities!
I wrote a post on how to combine them:
developer.chrome.com/blog/ha…
Diana Le retweeted
💡 CSS Tip!
I told you that, using 2 CSS declarations, we can extend the background of an element outside of its container but we can still do better!
Demo: codepen.io/t_afif/full/oNEaq… via @CodePen
Full credit to @SelenIT2 for this sorcery 🧙♂️
teapawt.org/SelenIT2/status/153449…
#CSS
💡 CSS Tip!
Extend the background of an element outside of its container to cover the full screen width
✅ No extra element
✅ No pseudo-element
✅ No overflow issue
✅ Only 2 CSS declarations
Demo: codepen.io/t_afif/full/LYQgP… via @CodePen
#CSS
Diana Le retweeted
You all want native CSS nesting but the CSS Working Group is blocked on choosing a syntax.
There are 3 top proposals and we need your opinion!
What syntax makes the most sense to you?
Review the options & take the 1-minute survey to share your thoughts 🙏🏼
⬇️⬇️⬇️⬇️⬇️⬇️
Your opinion matters ✅
@TerribleMia and @argyleink teamed up to compare and contrast 3 syntax options for nesting in #CSS.
Which you prefer:
1️⃣ @nest
2️⃣ @nest restricted
3️⃣ Brackets
review and vote 👇
developer.chrome.com/blog/he…
Diana Le retweeted
Lack of career advancement and development is now the top reason why people leave their job according to a new McKinsey study.
Diana Le retweeted
Emulating CSS features with #DevTools is a piece of cake. 🍰
@jecfish and @argyleink explain how to use DevTools to emulate user preferences like light/dark themes, color contrast, reduced motion, and more.
Watch → goo.gle/3AZBI2o
Read → goo.gle/3zc5tM3
Diana Le retweeted
I've found the Todo Tree extension really helpful, especially on large projects or side projects with a lot of start/stop to keep track of what I have left to do.
You write TODO in a comment and it helps you build a todo list of what's left
marketplace.visualstudio.com…
Diana Le retweeted
Let's talk about our best (or worst depending on your point of view) troubleshooting experiences.
{ author: @dianale_dev } #DEVCommunity
dev.to/dianale_dev/best-inte…
Diana Le retweeted
🔥 VS Code Tip: If you lose some work or make a change in between commits, the "Timeline" panel will allow you to time travel back on a per-save basis, and even diff the change!
Diana Le retweeted
11 Promises from a Manager: a 🧵
1. We’ll have a weekly 1:1. I’ll never cancel this meeting, but you can cancel it whenever you like. It’s your time.
Diana Le retweeted
Delighted to announce the launch of our latest course, Learn React for free! ⚛️🚀
It's the ultimate React 101. Learn the basics of modern React by solving 140+ interactive coding challenges and building eight fun projects across 11+ hours of teaching - go get it now! ⚛️🥳
Course launch 🚀
My brand new 11-hour-long Learn React for Free course is now live! 🎉
To celebrate, I will give away a one-year @scrimba Pro subscription (worth $150+) to 3 lucky retweeters of this tweet! 💝
🧵
scrimba.com/learn/learnreact






























