Have a look at this Codepen to see the issue.
As the text moves into the background, more aliasing appears.
A screenshot taken in Chrome on macOS (similar appearance in FF & Safari):
https://i.sstatic.net/n746I.png
I've experimented with different values for -webkit-font-smoothing
and text-rendering
, added translate3d(0,0,0)
and other techniques. Unfortunately, nothing produces a satisfactory result. Using filter: blur
can somewhat hide the issue, but it compromises sharpness.
Is this a problem we have to accept due to display pixels, or is there a solution?
🙏
For future reference, here's the code from the Codepen:
body {
background: black;
text-align: center;
}
div {
perspective: 1000px;
}
h1 {
color: white;
font-weight: 300;
font-size: 6vw;
transform: rotate3d(1, -0.4, -0.4, 250deg);
}
html
<div>
<h1>🤗 Hello World!</h1>
</div>