MDN Web Docs

6.1K posts

MDN Web Docs banner
MDN Web Docs

MDN Web Docs

@MozDevNet

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

Worldwide Katılım Mart 2013
4 Takip Edilen49.4K Takipçiler
Sabitlenmiş Tweet
MDN Web Docs
MDN Web Docs@MozDevNet·
🆕 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/blog/int…
MDN Web Docs tweet media
English
12
188
1.1K
56.6K
MDN Web Docs retweetledi
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
Notification actions landed in Firefox 152, allowing you to add quick action buttons to your notifications. Here's how they work:
English
4
8
78
7.6K
MDN Web Docs retweetledi
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
CSS field-sizing is newly baseline, meaning you can make various form fields size to their contents, without needing JavaScript.
English
2
18
102
5.8K
MDN Web Docs retweetledi
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
Firefox 152 landed today, and includes web platform features like: 🎉 CSS field-sizing 🎉 Notification actions 🎉 unadjustedMovement pointer locks 🎉 getAnimations() pseudoElement option …and more! developer.mozilla.org/en-US/docs/Moz…
English
2
13
65
5.1K
MDN Web Docs retweetledi
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
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:
English
3
13
86
6K
MDN Web Docs
MDN Web Docs@MozDevNet·
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 👇
MDN Web Docs tweet media
English
2
10
75
2.7K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
0
0
20
2.2K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
0
2
32
3K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
0
7
43
2.4K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
0
5
32
2.2K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
0
4
43
2.4K
MDN Web Docs
MDN Web Docs@MozDevNet·
🦊 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/docs/Moz…
MDN Web Docs tweet media
English
1
5
49
2.4K
MDN Web Docs
MDN Web Docs@MozDevNet·
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/docs/Web…
MDN Web Docs tweet media
English
1
15
116
3.9K
MDN Web Docs
MDN Web Docs@MozDevNet·
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/docs/Moz…
MDN Web Docs tweet media
English
0
9
51
2.4K
MDN Web Docs
MDN Web Docs@MozDevNet·
🆕 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/docs/Web…
MDN Web Docs tweet media
English
3
16
149
6K
MDN Web Docs
MDN Web Docs@MozDevNet·
✨ :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/docs/Web…
English
2
3
41
2.7K
MDN Web Docs
MDN Web Docs@MozDevNet·
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/docs/Web…
MDN Web Docs tweet media
English
1
11
128
4.9K
MDN Web Docs
MDN Web Docs@MozDevNet·
✨ :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/docs/Web…
English
1
4
74
3.9K
MDN Web Docs
MDN Web Docs@MozDevNet·
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/docs/Web…
English
0
10
77
3.8K