Javascript Css Transform Scale Not Working Properly Stack Overflow

Javascript Css Transform Scale Not Working Properly Stack Overflow Turn a nav menu into a pie (revert it to original size) this is triggered when the nav is clicked function piefromnav(nav) { $(nav).css("transform", "scale(1)"); $(nav).css("transform origin", "initial"); as you can see in the gif below, it's working fine. The content of the right div is scaled down using the css transform. all looks good in the browser. but when printing the page (either via chrome headless or via the browser print feature), the height of the scaled down div is wrong on the first page (its content is properly scaled down). the issue happens only with all the pages but the last.

Html Css Transform Scale Not Working As Wanted Stack Overflow A slight annoyance, but try not to add a space between the css property name and colons. the tests aren’t that flexible. The problem is that when applying the "scale" function $.width () always returns the original value, but $.position () returns depending on the scale. i don't have time to address this currently. perhaps this workaround could work: try applying a scrollbar to an outer container and scale transform to an inner container. let me know if this works. Tell us what’s happening: your code so far
Comments are closed.