Reputation: 950
I have a UL whose LI are styled with the following:
Ul li {
padding: 10px;
color: white;
font-size: 2vw;
font-family: "Helvetica Neue";
font-weight: 200;
font-style: normal;
border: 0;
outline: 0;
background: transparent;
border-bottom: 1px solid rgba(9, 0, 0, 0.3);
-webkit-appearance: none;
border-radius: 0;
}
However the fonts looks different, a little thicker in Chrome:
Then it does in Safari:
I prefer the Safari rendition, how can I get the font to be rendered identical in every browser?
Upvotes: 0
Views: 892
Reputation: 10879
The short answer is: no. It's really a pain in the ... But you can try to make things better by using -webkit-font-smoothing: antialiased;
and -moz-osx-font-smoothing: grayscale;
on the HTML element in your CSS.
Upvotes: 1