📜  Safari 的流畅排版 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:45.087000             🧑  作者: Mango

代码示例1
/* Fluid typography fix for Safari as of 07/14/21 */
/* Place this in the same CSS selector */
div {
  -webkit-marquee-increment: 0vw;
}

/*
RABBIT HOLE OF RESOURCES:
https://codepen.io/ausi/pen/WNRyOrY
https://www.sarasoueidan.com/blog/safari-fluid-typography-bug-fix/
https://www.smashingmagazine.com/2016/05/fluid-typography/
https://stackoverflow.com/questions/37070694/font-size-calc-dynamic-size-safari-failing
*/