Surfin’ Safari Details How to Use Apple’s San Francisco Font in CSS →

· · 1 Comment

Myles Maxfield:

Web content is sometimes designed to fit in with the overall aesthetic of the underlying platform which it is being rendered on. One of the ways to achieve this is by using the platform’s system font, which is possible on iOS and OS X by using the “-apple-system” CSS value for the “font-family” CSS property. On iOS 9 and OS X 10.11, doing this allows you to use Apple’s new system font, San Francisco. Using “-apple-system” also correctly interacts with the font-weight CSS property to choose the correct font on Apple’s latest operating systems.

Tempted to try it on here…

Chcesz zwrócić mi na coś uwagę lub skomentować? Zapraszam na @morid1n.

  • San Francisco ❤️