Reputation: 137
I would like to use emoji on my simple HTML/CSS website.
The idea is to use an emoji as the "next" and "previous" buttons at the end of a page (see screenshot). Inserting a simple emoji via code is no problem, but is there a way to mirror / flip the emoji, so that they show from right to left (like the white shoes in the screenshot)?
Or is the only possibility here to treat the emojis as PNGs, by exporting them as set PNG images?
Upvotes: 6
Views: 12562
Reputation: 11
You can probably use transform: scaleX(-1);
in your CSS code for that image tag
Upvotes: 1
Reputation: 32002
You can use the transform
property:
.emote {
transform:scale(-1, 1);
width:fit-content;
}
body{
font-size:50px;
}
<div class="emote">š</div>
<br/>
š
Upvotes: 9