In Firefox, a triangle has jagged / flattened edges, regardless of whether it rotated or not.
See the script :
CSS (html just <div></div>)
div {
border-top: 10px solid rgba(255, 255, 255, 0);
border-right: 70px solid #777;
border-bottom: 10px solid rgba(255, 255, 255, 0);
transform: rotate(90deg);
}
For shapes that fill their field, you can apply outline: 1px solid transparent.
For non-rotated shapes, you can simply apply transform: scale(.999)(found in SO ).
But if I change the last line of CSS to transform: rotate(90deg) scale(.999), smoothing will happen anyway.
This error , filed in 12 and still marked as “new,” is somewhat related, and no attempt to resolve has been made.
- , Firefox? .