Frontend Masters Boost RSS Feed
https://frontendmasters.com/blog
Frontend Masters Boost is a blog about web development. It's written by the team at Frontend Masters, course instructors from the industry, and curated guest authors. The goal is to help you on your path to becoming a senior developer, or to be an even better one.
フィード

Easier layout with margin-trim
Frontend Masters Boost RSS Feed
Without the new property margin-trim, I’m forever doing :last-child { margin-block-end: 0; } and things like that to prevent an elements margin from combining with a parent elements padding to make too much space. The fact that we can avoid the extra awkward targeting and removal rule with this is great. I’ll stick by Coyier’s […]
1日前

shape(): A New Powerful Drawing Syntax in CSS
Frontend Masters Boost RSS Feed
Don't underestimate `shape()` — it's the CSS version of SVG that we absolutely needed.
2日前

Using Container Query Units Relative to an Outer Container
Frontend Masters Boost RSS Feed
Container units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units.
3日前

Default styles for h1 elements are changing
Frontend Masters Boost RSS Feed
A rare fundamental change to browser default stylesheets: <h1> elements used to get smaller the more <section>s they were nested within, but no more. I would guess because the HTML Outlining Algorithm never really materialized.
4日前

RedwoodSDK
1

Frontend Masters Boost RSS Feed
A bit of a pivot from the Redwood gang, splitting RedwoodJS into Redwood GraphQL … To minimize disruption and provide clarity going forward, we’re renaming the existing RedwoodJS framework to Redwood GraphQL, reflecting its strength as a mature, stable framework built around GraphQL. … and the newfangled RedwoodSDK. Redwood has always been ultra opinionated (I […]
7日前

Comparing Iterators
Frontend Masters Boost RSS Feed
Matt Smith on when to use map() vs. forEach() in JavaScript. Just one of those things I can imagine asking or being asked in a coding interview. Some interesting comments below the article as well.
9日前

Seeking an Answer: Why can’t HTML alone do includes?
4

Frontend Masters Boost RSS Feed
Is there a perfectly clear and reasonable answer? Or could we get this someday?
10日前

React Internals: Which useEffect runs first?
Frontend Masters Boost RSS Feed
It's not particularly obvious, but a child's useEffect will run before a parent's will. Let's look at why.
11日前