chinchang / hint.css

A CSS only tooltip library for your lovely websites.
https://kushagra.dev/lab/hint/
MIT License
8.42k stars 701 forks source link

[Chrome] Position bug when parent element has column-count #123

Open jazzido opened 8 years ago

jazzido commented 8 years ago

When a container element has column-count, the tooltip is not correctly positioned:

hint

alexerasmusu commented 6 years ago

transform: translate3d(0, 0, 2px);

viciantomas commented 6 years ago

In any case someone wondering, you can try fixing this by adding this style to child elements

-webkit-column-break-inside: avoid;
-webkit-backface-visibility: hidden;