CSS 现在有了 if() 条件函数。
CSS now has an if() conditional function

原始链接: https://caniuse.com/?search=if

我可以使用… 现代网络技术浏览器支持表 由@Fyrd创建和维护,设计由@Lensco完成。支持数据贡献来自GitHub社区。使用份额统计数据来自StatCounter GlobalStats,2025年10月。位置检测由ipinfo.io提供。浏览器测试通过以下方式进行:

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 CSS 现在有了 if() 条件函数 (caniuse.com) 17 分,由 aanthonymax 发表于 3 小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 aanthonymax 3 小时前 [–] 这个支持出现在新的 W3C 规范中。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Browser support tables for modern web technologies

Created & maintained by @Fyrd, design by @Lensco.

Support data contributions by the GitHub community.

Usage share statistics by StatCounter GlobalStats for October, 2025

Location detection provided by ipinfo.io.

Browser testing done via BrowserStack

联系我们 contact @ memedata.com