Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@font-face bug #21

Closed
bboysupaman opened this issue Nov 19, 2014 · 1 comment
Closed

@font-face bug #21

bboysupaman opened this issue Nov 19, 2014 · 1 comment

Comments

@bboysupaman
Copy link
Contributor

There is an issue in Safari browsers with the elements with an applied @font-face. The font-weight of said elements changes when one hovers over other elements on the page.

To reproduce the issue, simply open the page in Safari (I used Safari 8.0.1). Ensure that the footer is in view and hover over any of the “browser blocks” and you will observe the font-weights changing.

This seems to be due to Safari’s implementation of antialiasing. I have found the following to be the solution to this issue on some of my own pages in the past.

The fix involves add CSS rule to style.css.
Add "-webkit-font-smoothing: antialiased;" to CSS rule beginning on line 12.

@bboysupaman
Copy link
Contributor Author

I'm still learning how GitHub works... But I created a fork and submitted a pull request.

coffee2code added a commit that referenced this issue Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant