2

Firefox is creating small lines on the triangles I've created and rotated.

Chrome

FireFox

I've looked into what other questions have done and they recommended trying adding transform: translateZ(1px) rotate(-45deg); and background-clip: padding-box; but neither of those worked for me.

Also, it is only the rotated triangles that have the line in the firefox browser.

The page can be viewed at bingo-caller.herokuapp.com

Mordecai
  • 1,414
  • 1
  • 7
  • 20

3 Answers3

1

try this hack on the masked element: filter: blur(0.01px);

hneupert
  • 11
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 21 '22 at 16:34
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/33217330) – samnoon Nov 24 '22 at 14:38
0

I tried on your page and it seems to work, add translateZ(1px) to the transform for the triangles.

enter image description here

Daniel Doblado
  • 2,481
  • 1
  • 16
  • 24
  • [**Do not post images of code or errors!**](https://meta.stackoverflow.com/q/303812/995714) Images and screenshots can be a nice addition to a post, but please make sure the post is still clear and useful without them. If you post images of code or error messages make sure you also copy and paste or type the actual code/message into the post directly. – Rob Jan 15 '19 at 00:59
  • 4
    Sorry, in this case the image is not to show code but to show the visual glitch mentioned in the issue getting fixed, I'm also mentioning the code that needs to be changed as text. – Daniel Doblado Jan 15 '19 at 01:04
0

Until now desc 2022 that still haven

I fix using border with color depending to the background and can not use transparent of border color e.g I use white because my parent background is white

border: 1px solid white;
Umar
  • 155
  • 1
  • 10
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 07 '22 at 20:54