Some Cool CSS Tricks on Quora

A Quora feed hits my email everyday, and it’s mostly “Why was Thanos afraid of ___ when he defeated ___?” content. I’m not sure why that’s what’s in my feed, but there you have it and feel free to ask me anything about why Thanos is afraid of people.

Anyway, my feed for today also included a thread asking for CSS tips and tricks, and this guy’s list seemed really cool to me. Some standouts:

  • Helpful uses of vw and vh.
  • How to prevent double-bottom-borders on bordered grid layouts.
  • How to center elements horizontally and vertically without using <table>s.

Enjoy!

Image credit: tiagonicastro


Add a Comment

Your email address will not be published. Required fields are marked *