Livid
408.15D
542.18D
V2EX  ›  CSS

CSS aspect-ratio 的浏览器支持

  •  
  •   Livid ·
    PRO
    · Oct 27, 2021 · 2395 views
    This topic created in 1854 days ago, the information mentioned may be changed or developed.
    Safari 15 开始提供正式支持之后,现在主要浏览器的当前版本都可以支持 CSS aspect-ratio 了:

    https://caniuse.com/mdn-css_properties_aspect-ratio

    https://web.dev/aspect-ratio/
    1 replies  •  2021-10-27 10:28:33 +08:00
    h404bi
    h404bi
    Oct 27, 2021
    1
    前两天刚好换上。这个新属性太棒了,一个顶十个,可算不用“padding hack”了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:15 · PVG 05:15 · LAX 13:15 · JFK 16:15
    ♥ Do have faith in what you're doing.