I hope that helps. I learned that trick from TailwindCSS, a framework that I use every day to make amazing interfaces. If you're a developer or a designer and you're looking to improve your front end interfaces, please drop me a line at aaron.lopez@wolfxmachina.com. I would love to chat about your project.