How does Google do web site reliability engineering? Is utilizing relative CSS models (rem) to regulate areas like margins and paddings a good suggestion? Are you able to undertake native and relaxed CSS nesting?
This week’s Internet Weekly consists of all of the solutions and rather more. Get pleasure from!
I heard having your individual font is vital for profitable tech firms today. Vercel adopted the playbook and launched Geist.
Shortly after, GitHub adopted. However the Octocat maintainers did not launch one more customary coding font, however somewhat a whole font household — say hi there to “Monaspace”.
Monaspace is a set of 5 variable fonts supporting the identical font axes. I have not tried it but, however theoretically, you would combine and match the fonts, and so they’ll keep on the identical grid. Candy!
And I have to say, I am inclined to attempt Krypton on the weblog as a result of it seems properly out of house. The fonts additionally help ligatures if you wish to be tremendous fancy.
However monospace fonts often have some visible issues. The i usually is just too huge. The m seems squished. It is unlucky, however that is the way it needs to be — it is monospace in spite of everything, proper?
Monaspace comes with a brand new font characteristic referred to as texture therapeutic. Texture therapeutic works towards placing each character into the same-sized field and expands/narrows characters whereas protecting the textual content monospaced. Very funky!
I will attempt the fonts in my VS Code setup and see if texture therapeutic is nicer on the eyes.
Please disperse; there’s nothing to see right here. It is only a cat being up for pair programming.
Apparently, the React docs advise utilizing a library to fetch knowledge in your parts. Why is that? Is not it simple to name fetch in a useEffect hook? Effectively… no. And Dominik explains how the short’n’straightforward useEffect method results in delicate bugs.
Use a library to fetch knowledge
Despite the fact that web site reliability engineering is not in my ballpark, I loved the teachings discovered whereas scaling tasks at Google.
Do you know there are different methods to disable a kind aspect than setting the disabled attribute? Å ime Vidas explains why the :disabled and [disabled] CSS selectors can match totally different components.
Utilizing relative font sizes (rem) as an alternative of pixel-based ones is a good suggestion as a result of they permit customers to regulate a web site’s font measurement through their browser settings. If somebody desires to extend the general font measurement, our CSS ought to settle for this.
This apply works effectively on desktop, however the cell house is much less predictable. Manuel Matuzović examined how cell browsers deal with rem models, and effectively…
The relative font measurement dealing with on cell is greater than messy.
And after discovering that rem models behave inconsistently, Ashlee M Boyer got here alongside to share that utilizing relative models for spacing is a foul thought. I have to admit I’ve by no means thought in regards to the factors she makes, however she’s onto one thing right here.
I did not encounter any bizarre internet corners this week. Are you able to assist me out for subsequent week? What are your favourite web corners? Ship them my method, and I will embrace them in Internet Weekly!

Jhey Tompkins’ Codepen profile is value visiting as a result of he publishes a ton of spectacular CSS demos.
This button instance coming with interactive controls blew me away.
In case you’re not paying for YouTube proper now, you could have observed that the service ramped up its efforts to nudge us all to change to premium or at the least flip off adblockers.
Zhenyi Tan describes how adblockers block advertisements and the way YT makes it more durable and more durable to take action.
Okay, that is wild! What number of traces of JS do it’s essential report your display screen and reserve it to a file? 20. That is it. 🤯
From the limitless MDN information archive…
You would possibly know that inset is a shorthand for prime, proper, backside and left. However do you know that there is additionally inset-block and inset-inline?
These properties take into account the writing mode, whereas inset does not. 🤯
You most likely wish to keep away from repetition in the event you’re sustaining advanced npm scripts. Reusing bundle.json properties is perhaps useful right here.
It is time, mates! 🎉 This week’s largest platform information was that relaxed CSS nesting landed in all three important engines.
What’s relaxed nesting? When browser distributors began wanting into supporting native CSS nesting, the primary draft included the limitation that nested selectors should start with considered one of these characters: &@:. You couldn’t “just” nest things and had to prepend a & if you wanted to nest element selectors.
Luckily, this syntax limitation was relaxed, so the behavior is now closer to what we’re used to from CSS processors. And Chromium was the last engine to implement the change. In a few browser releases, it’s finally time to ditch some tooling and rely on native nesting. But how will browsers display nested CSS rules in the developer tools?
As you see, Firefox does a good job by rendering the entire nested CSS rule. Chromium and Webkit, on the other hand, don’t make it very clear what we’re looking at.
Let’s see when and if they will improve their dev tools.
I did some blog winter cleaning, and Ahref’s broken link checker was incredibly handy to get rid of links going nowhere.
Did your relationship with work change over the past few years?
We made it through Covid, the climate crisis is unavoidable, the tech world has experienced mass layoffs, and multiple wars are plastering the news — many reflect on their life choices.
Sara Wachter-Boettcher published thoughts on “quiet quitting”, motivation (or the lack of it) and life goals, and it included this line that made me sit down and think.
Telling yourself you should want something isn’t the same as actually wanting it.
Loved this email? Hated this email? I want to hear about it!
If there’s something that needs to be improved or something that you enjoyed, reply to this email because I want to know more!
And with that, take care of yourself – mentally, physically, and emotionally.
I’ll see you next week! 👋









![:disabled != [disabled]](https://images.ctfassets.net/f20lfrunubsq/4PNb75glAY6ZCCbACwqppA/965bd658776fe68a50bb8f190d6d11d9/Screenshot_2023-11-12_at_15.29.04.png)








