惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
C
Check Point Blog
雷峰网
雷峰网
小众软件
小众软件
GbyAI
GbyAI
美团技术团队
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
Jina AI
Jina AI
爱范儿
爱范儿
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美

Can I Use updates

Lazy loading via attribute for video & audio CSS Grid Lanes | Can I use... Support tables for HTML5, CSS3, etc web-features now included + new feature list functionality View Transitions (cross-document) | Can I use... Support tables for HTML5, CSS3, etc
CSS if() function | Can I use... Support tables for HTML5...
2025-07-18 · via Can I Use updates

The if() CSS function allows different values to be set for a property depending on the result of a conditional test. The test can be based on a style query, a media query, or a feature query.

Chrome

  1. 4 - 136: Not supported
  2. 137 - 148: Supported
  3. 149: Supported
  4. 150 - 152: Supported

Edge

  1. 12 - 136: Not supported
  2. 137 - 148: Supported
  3. 149: Supported

Safari

  1. 3.1 - 26.3: Not supported
  2. 26.4: Not supported
  3. 26.5 - TP: Not supported

Firefox

  1. 2 - 150: Not supported
  2. 151: Not supported
  3. 152 - 154: Not supported

Opera

  1. 9 - 120: Not supported
  2. 121 - 127: Supported
  3. 131: Supported

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Chrome for Android

  1. 149: Supported

Safari on iOS

  1. 3.2 - 26.3: Not supported
  2. 26.4: Not supported
  3. 26.5: Not supported

Samsung Internet

  1. 4 - 29: Not supported
  2. 30: Not supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 80: Not supported

UC Browser for Android

  1. 15.5: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 149: Supported

Firefox for Android

  1. 151: Not supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

  1. 13.52: Not supported

KaiOS Browser

  1. 2.5: Not supported
  2. 3: Not supported
Resources:
Firefox support bug 1981485
MDN Web Docs - if()
Minimal vanilla JavaScript polyfill and PostCSS plugin
Firefox request for position
WebKit request for position