5
font-size:clamp(20pt,8vmin,40pt)

Is not resizing text in Safari 13.1 (mac OS) but is working in Chrome

Here is an example https://codepen.io/sfpx/pen/ExPMZVb If you resize the result part vertically you will see the font size decreasing in Chrome but not in Safari.

How could I achieve the same result in Safari ? Let's say I want the font to be 8vmin but a max of 40pt and a min of 20pt. I tried min , clamp and calc without success in Safari

doğukan
  • 17,415
  • 8
  • 39
  • 59
sfpx
  • 69
  • 8

0 Answers0