Web Weekly #96 (#blogPost)

Guten Tag! 👋Have you ever used the @counter-style CSS at-rule? Or did you know that there’s a new HTML element in town? Or that align-items: last baseline is a thing now?
All the ans…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Guten Tag! 👋

Have you ever used the @counter-style CSS at-rule? Or did you know that there's a new HTML element in town? Or that align-items: last baseline is a thing now?

All the answers and much more are included in this week's Web Weekly. 🫣

How many HTML elements are out there today? A while ago, folks were playing this little game, and it's surprisingly hard to name the 114 possible answers.

And now there's one more! My friend, let me introduce you to the search element! 👏

I still need to look into the specifics, and it's implemented nowhere yet, but if you want to get ready, here's the updated spec, and Scott O'Hara also explains what it's about.

Yay, HTML just got better! 👏

Something that made me smile this week

What would you do when you discover that a frog lives in your fence? Easy, build a mansion. 😅

Make frogs your friends

Responsive images in a component world

Four months ago, I went on a journey to find out how responsive images would work with container queries. Of course, it's complicated.

But there's news: Simon Pieters came up with a new sizes="auto" attribute value, and all three engines agree that it's worth a try!

Dive into image loading

Modern CSS

I love casual and low-key CSS walk-throughs. If you want to catch up with native CSS nesting, logical properties, OKLCH or text-wrap: balance, Chris Coyier has your back.

Adopt fancy CSS

Speeding up your Node.js scripts

It's commonly known that you shouldn't include all the code in your frontend bundle because everything needs to be downloaded, parsed and executed. But what about the server side?

Marvin Hagemeister continues his Node.js performance improvement series and explains why you shouldn't require all your modules on top of each file.

Don't require everything

The problem with slash commands

I discovered that GitHub supports / commands now. I'm a big fan of these power user features, but Hidde de Vries pointed out that they come with accessibility implications. As always, computers are hard.

Keep your shortcuts accessible

The wonderful weird web – Blob opera

Oldie'but'goldie: do you remember the blob opera Chrome experiment? 😆

(It works in Firefox, Safari and Chromium these days)

Make the blobs sing

What are your favorite internet corners? Send them my way, and I'll include them in Web Weekly!

Handy design rules

I'm not a designer. I can create okayish things, but nothing that looks truly great. And that's why I love posts dissecting a design and improving it step by step. 💯

Get better at design

CSS @counter-style is going cross-browser soon

Customizing lists can be cumbersome; and even though I've known the @counter-style at-rule for a while, I never played with it because it wasn't cross-browser supported.

Until now! The new Safari Tech Preview ships it, so it's only a matter of time until we can fine-tune all our list elements in all browsers.

User @counter-style

Check this CodePen for a live demo and discover hundreds of ready-made examples.

The last baseline

Do you know what align-items: last baseline; does in a flex container? If not, Rachel Andrew explains what it's about.

Align your items

Why we don't need native visually-hidden functionality on the web

If you're reading Web Weekly regularly, you might say "Hold on, Stefan! Didn't you share that we need visually-hidden functionality in CSS?".

And you're right, but Scott O'Hara argues that hiding elements visually solves a problem rooted elsewhere (poor designs or lacking browser functionality).

And while I don't think it's that easy, Scott makes excellent points. I'd still welcome display: visually-hidden as a last resort, though. 🫣

Don't hide stuff

Random MDN – shape-image-threshold

From the unlimited MDN knowledge archive...

Did you know you can use shape-outside and shape-image-threshold to flow text around elements? Now you do!

Shape elements

If you want to learn more about web development, my @randomMDN Twitter bot posts random MDN pages multiple times a day.

TIL recap – Are folks reloading your sites?

Two years ago, I learned that you can figure out if people are hitting reload on your pages via performance.navigation.type. Fancy!

Track the reloads

Find more short web development learnings in my "Today I learned" section.

Three valuable projects to have a look at

A new Tiny Helper

Suppose you're interested in checking your font usage, Fonty.io is a quick helper to start your analysis.

Analyze

Find more single-purpose online tools on tiny-helpers.dev.

Thought of the week

When it comes to tech choices, we all have opinions and preferences on things, but we're all just trying our best to create good stuff and live our best lives.

As Jake Lazaroff says it:

No one wants to feel like they're doing something morally wrong by choosing a framework [...].

A song that makes you stop coding

This week's track is from THYLACINE and comes with a fancy piano sound. 💙

Listen to "Piany Pianino"

This is all, friends!

Writing Web Weekly takes me roughly five hours every week, and I pay real money for sending over 3.5k emails. If you enjoy it, consider supporting me on Patreon. ♥️

Or tell your friends about it:

If you're not a subscriber, change that! 😉

And with that, take care of yourself - mentally, physically, and emotionally.

I'll see you next week! 👋


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2023-03-26T22:00:00+00:00) Web Weekly #96 (#blogPost). Retrieved from https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/

MLA
" » Web Weekly #96 (#blogPost)." Stefan Judis | Sciencx - Sunday March 26, 2023, https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/
HARVARD
Stefan Judis | Sciencx Sunday March 26, 2023 » Web Weekly #96 (#blogPost)., viewed ,<https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/>
VANCOUVER
Stefan Judis | Sciencx - » Web Weekly #96 (#blogPost). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/
CHICAGO
" » Web Weekly #96 (#blogPost)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/
IEEE
" » Web Weekly #96 (#blogPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/. [Accessed: ]
rf:citation
» Web Weekly #96 (#blogPost) | Stefan Judis | Sciencx | https://www.scien.cx/2023/03/26/web-weekly-96-blogpost/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.