Livid
402.83D
565.14D
V2EX  ›  CSS

CSS aspect-ratio 的浏览器支持

  •  
  •   Livid ·
    PRO
    · Oct 27, 2021 · 2358 views
    This topic created in 1833 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   ·   4991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:57 · PVG 14:57 · LAX 22:57 · JFK 01:57
    ♥ Do have faith in what you're doing.