One of my favorite interview questions is "how do you stay current on emerging front-end techniques and APIs?" I always get the standard "blogs" and "RSS" answers but rarely do I ever hear "from gurus on Twitter." I find that strange because I learn loads from Twitter, especially when it comes to CSS, because a tiny snippet can do something really neat.
I had heard CSS
mix-blend-mode was something awesome but this blew my mind:
mix-blend-mode: multiply; on an image with white background would turn that white into a level of opacity as though the image were a
.png with opacity. Whoa! I created a demo here:
What an awesome bit of CSS! Thanks to Wes Bos for the heads up on this nifty CSS feature!