Ios safari emoji font size error (cannot scale)
I am trying to use some ios emoji in my html, for example:
<h1>🍮</h1>
and when i change the font size like:
<h1 style="font-size: 100px;">🍮</h1>
emoji scales correctly in safari (mac), but safari (ios) doesn't scale at all - it looks like font size doesn't affect emoji in safari (ios).
I'm not sure if this is true ...
Any suggestion would be appreciated, thanks :)
+3
source to share
1 answer
Try using a pseudo element.
.custard::after {
content: "\1F36E";
font-size: 100px;
}
See the pen: http://codepen.io/tibi/pen/EKQVWM
0
source to share