Feature detection of View Transition Types (#snippet)
Explains how to properly detect browser support for the new View Transition Types API in web development, highlighting a common pitfall.
Explains how to properly detect browser support for the new View Transition Types API in web development, highlighting a common pitfall.
Explains a workaround using @supports with a proxy feature to conditionally apply CSS @starting-style animations in supported browsers.
Explains how to use CSS @supports for feature detection, including checking property support and new selectors like :has() and :focus-visible.
Explains how to detect browser support for the CSS flexbox gap property and provides workarounds for unsupported browsers.
A developer explains the CSS @supports rule and why its widespread browser support is crucial for progressive enhancement.
A web developer argues for defining browser support per feature/module instead of globally, using tools like caniuse.com for clarity.
A web developer revisits the 'Cut the Mustard' browser feature detection technique, proposing an updated check using Page Visibility and ServiceWorker APIs.
Explains the Modernizr 'noPrefixes' flag, a feature to disable vendor prefix testing for cleaner, more stable code.
Discusses the shift away from CSS vendor prefixes as features become stable, and the need to treat experimental features carefully.
A guide to the challenges and workarounds for implementing HTML5 audio on mobile devices, focusing on iOS and Android limitations.
A JavaScript developer shares an improved pattern for detecting and safely using the localStorage API, including a robust feature test and local reference technique.
A developer shares her journey to JSConf EU and explores techniques for detecting CSS selector support, crucial for writing robust polyfills.
A CSS technique for conditionally applying styles based on selector support, using invalid selectors to filter unsupported browsers.
Explores native multiple file uploads in browsers using the 'multiple' attribute and feature detection for cross-browser compatibility.
A guide to detecting RGBA and other CSS3 value support in browsers using JavaScript feature detection techniques.
Essential browser bugs and workarounds developers need to know when coding JavaScript without libraries.
Learn how to detect browser support for specific CSS properties using JavaScript feature detection instead of browser sniffing.