
The official MDN Web Docs account. We deliver the best web docs around.
Worldwide
Joined March 2013
- Tweets6.1K
- Following5
- Followers49.3K
- Likes5.2K
Pinned Tweet
๐ Customize MDN's browser compat tables!
Press โ๏ธ Settings on any compat table to choose which browsers and engines you see, and hide the ones you don't need.
Your picks are saved in your browser.
Try it ๐
developer.mozilla.org/en-US/โฆ
๐ Introducing the MDN MCP server!
Bring MDN's docs and browser compat data straight into your AI agent or IDE for accurate, up-to-date answers about the web platform.
No more outdated guesses from training data.
Learn more ๐
developer.mozilla.org/en-US/โฆ

ALT A headline Introducing MDN MCP server above a terminal window titled Light-dark CSS function for images, showing a prompt asking how to use the light-dark() CSS function for images and which browsers support it, with a note that the mdn tool was called 4 times, followed by an answer explaining that light-dark() takes two image values and works anywhere an image is accepted. The MDN logo appears on the right.
Ever wish HTTP status codes were easier to remember? ๐ผ๏ธ
Check out this MDN cheatsheet that pairs each status code with an emoji to help you visualize what each one means, from 200 OK โ
to 418 Iโm a teapot ๐ซ
Check it out ๐
๐ฆ Firefox 150: web extensions can now use the Web Authentication API.
Extensions can create and retrieve WebAuthn credentials for any domain covered by their host permissions.
Read Now ๐
developer.mozilla.org/en-US/โฆ
1
25
2,686
๐ฆ New in Firefox 150: the revert-rule CSS keyword.
Make a property behave as if the current rule didn't exist, letting a value from another matching rule take effect instead.
Read Now ๐
developer.mozilla.org/en-US/โฆ
๐ฆ Firefox 150: light-dark() now accepts image values โ not just colors.
Use it with images and gradients to adapt visuals based on color scheme.
background: light-dark(url(light.png), url(dark.png));
Read Now ๐
developer.mozilla.org/en-US/โฆ
๐ฆ Firefox 150 ships ariaNotify() on Document and Element.
Queue text to be announced by a screen reader โ a more ergonomic and reliable alternative to ARIA live regions.
Read Now ๐
developer.mozilla.org/en-US/โฆ
๐ฆ Firefox 150: color-mix() now accepts more than two colors at once.
Mix any number of colors in a single declaration โ no more nesting multiple calls.
Read Now ๐
developer.mozilla.org/en-US/โฆ
๐ฆ Firefox 150: <img sizes="auto"> is now supported.
Lazy-loaded images use their calculated layout size to select from srcset โ no more duplicating media queries in HTML.
Read Now ๐
developer.mozilla.org/en-US/โฆ
Have you heard of CSS Subgrid? ๐ค
A grid item can now pass its parent's grid lines to children, so nested elements align perfectly with the outer layout.
No more hacky workarounds for aligned nested grids.
Learn more ๐
developer.mozilla.org/en-US/โฆ
Firefox 150 ships 7 media pseudo-classes: :buffering, :muted, :paused, :playing, :seeking, :stalled, :volume-locked.
Style <audio> and <video> elements based on their playback state.
Read Now ๐
developer.mozilla.org/en-US/โฆ
๐ The URL Pattern API is Newly Available!
Use it to match and extract parts of URLs, no need to reinvent routing logic. Supports literals, wildcards, named groups, and even regex constraints.
Learn how it works ๐
developer.mozilla.org/en-US/โฆ
Wait for all promises, even the failing ones ๐
`Promise.allSettled()` waits for every promise to finish, success or failure.
โ
Returns { status: 'fulfilled', value } or { status: 'rejected', reason }
โ
Perfect for batch operations
Learn more ๐
developer.mozilla.org/en-US/โฆ
โจ :only-child now matches elements with no parent!
The :only-child selector has been updated โ it can now match elements that have no parent at all, not just sole children.
A subtle but useful spec alignment across all major browsers.
Learn more ๐
developer.mozilla.org/en-US/โฆ
โจ :only-child now matches elements with no parent!
The :only-child selector has been updated โ it can now match elements that have no parent at all, not just sole children.
A subtle but useful spec alignment across all major browsers.
Learn more ๐
developer.mozilla.org/en-US/โฆ
Build smooth scroll experiences with CSS scroll snap ๐
Snap scrollable containers to specific positions โ carousels, galleries, and paginated views with zero JavaScript.
Learn more ๐
developer.mozilla.org/en-US/โฆ
๐ฌ Check own properties safely with Object.hasOwn()
A safer alternative to hasOwnProperty, works even on objects with a null prototype.
Baseline since 2022 โ
Learn more ๐
developer.mozilla.org/en-US/โฆ
Create frosted glass effects in CSS ๐ช
backdrop-filter applies visual effects to the content behind an element - blur, brightness, contrast, and more.
backdrop-filter: blur(10px) brightness(0.9);
No JavaScript. No canvas tricks.
Learn more ๐
developer.mozilla.org/en-US/โฆ
The CSS next-sibling combinator (+) selects an element only when it immediately follows another, same parent, no elements between them.
img + p { font-weight: bold; }
Learn more ๐
developer.mozilla.org/en-US/โฆ
๐ Document.caretPositionFromPoint() is Newly Available!
Give it an (x, y) coordinate and get back the exact DOM node and character offset. Perfect for click-to-edit interfaces.
Check it out ๐
developer.mozilla.org/en-US/โฆ
















