Weird bug that only seems to bug Chrome:
Continue readingCategory Archives: CSS
Fix: Some FontAwesome Unicodes Show Up as Squares
If some of the unicodes work, but not others:
Continue readingHow to: Prevent Body From Scrolling
After I accidentally stumbled upon the solution to “preventing body scrolling when overlay is on” by trying too many different things again and again, I wasn’t able to explain exactly why this works.
Import Font Looks Weirdly Bold
Divs Squashed of Their Original Height
Remove box-sizing: border-box;
and they’ll straighten up again.
Angular Material Style Not Working
It’s likely that you forgot to set up the theme in JavaScript. No it won’t work at all without theme setup.
CSS: Setting An Attribute After Transition Is Done
Use delay. Handy.
For instance, pull overlay’s z-index to top layer when it’s summoned, before it starts barging in, and dump it back to bottom when it’s done animating itself into vacuum.