See this link: https://dev.to/xtrp/possibly-the-most-useful-css-trick-jl3