A
A
Alexander2016-06-10 17:40:33
Mozilla Firefox
Alexander, 2016-06-10 17:40:33

How to smooth the edges of a div when applying the transform property on it in firefox?

I apply the transform property on the div. Browsers on webkit are fine.
49303c7c83cc404b817f477df6a24a92.png
But in firefox, the edges are not anti-aliased at all and look just awful.
13e22754aa914776bd4ffdfdf30edae5.png
I read that you can try box shadow or blur. It didn't work with box shadow, and blur completely cancels the work of transform-style: preserve-3d. So that's not an option either. Are there any other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Kvartsov, 2018-10-20
@kolesov_prod

The question is very old, but maybe the answer will be useful to someone from the search:
box-shadow - it will help, but you need to choose the right property parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question