Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

CSS Transform Scale on parent won't scale text

Open joepriit opened this issue 5 years ago • 1 comments

Title says all, example on parent div:

transform: scale(0.5);

image

joepriit avatar Nov 06 '20 12:11 joepriit

CSS transforms with text seem to be broken in general. This also produces weird artifacts:

<style>
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}
</style>

<span style="animation: spin 2s infinite linear">A</span>

DrJonki avatar Oct 17 '22 19:10 DrJonki