Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Fluid typography for Safari

/* 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
*/
 
PREVIOUS NEXT
Tagged: #Fluid #typography #Safari
ADD COMMENT
Topic
Name
6+5 =