Weird bug that only seems to bug Chrome:Continue reading
Category Archives: CSS
Fix: Some FontAwesome Unicodes Show Up as Squares
If some of the unicodes work, but not others:Continue reading
Safari Gradient Greying Out Bug
Safari has some beef with “transparent”.
How 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
Could be due to
Divs Squashed of Their Original Height
box-sizing: border-box; and they’ll straighten up again.
Line Height Not Working
It has to be
display: block; for
line-height to work.
Angular Material Style Not Working
Submit Form on Enter, without Submit Button
<input type="submit" tabindex="-1">
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.