MDN Web Docs

@mdn
2.9K Followers
3 Following
565 Posts

The official MDN Web Docs account. We deliver the best web docs around.

Visit β†’ https://mdn.dev
Contribute β†’ https://mdn.dev/community

Homehttps://developer.mozilla.org
GitHubhttps://github.com/mdn
Bloghttps://mdn.dev/blog
Discordhttps://mdn.dev/discord

We've completed our work on Web Security documentation on @mdn !

The entire MDN content tree has been reworked and now features in-depth information on:
- Attacks
- Defenses
- Authentication
- Threat Modeling

β†ͺ️ Blog post https://openwebdocs.org/content/posts/security-docs-sovereign-tech-agency/

Web Security docs on MDN

Open Web Docs supports web platform documentation for the benefit of web developers & designers worldwide. We are a community of web developers, standards makers, and technology companies that rely on this documentation as critical digital infrastructure, and we work cooperatively to ensure its long-term success and maintenance.

Open Web Docs
CSS field-sizing is newly baseline, meaning you can make various form fields size to their contents, without needing JavaScript.

Firefox 152 landed today, and includes web platform features like:

πŸŽ‰ CSS field-sizing
πŸŽ‰ Notification actions
πŸŽ‰ unadjustedMovement pointer locks
πŸŽ‰ getAnimations() pseudoElement option

…and more!

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/152

Firefox 152 release notes for developers (Stable) - Mozilla | MDN

This article provides information about the changes in Firefox 152 that affect developers. Firefox 152 was released on June 16, 2026.

MDN Web Docs

πŸ†• Introducing the MDN MCP server!

Bring MDN's docs and browser compatibility data straight into your AI agent or IDE for accurate, up-to-date answers about the web platform.

β€’ Works with VS Code, Zed, Cursor, Claude Code, Codex CLI, Claude Desktop, and more
β€’ No more outdated guesses from training data
β€’ Reliable Baseline and browser support info

Currently experimental. We'd love your feedback.

Learn more πŸ‘‡
https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/

The Web Serial API landed in Firefox 151, allowing you to connect directly to microcontrollers, dev boards, 3D printers, power meters, and other serial-connected hardware from the web. Here's how it works:

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 πŸ‘‡
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/150

🦊 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 πŸ‘‡
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/150

🦊 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 πŸ‘‡
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/150

🦊 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 πŸ‘‡
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/150