Present day CSS now has @container queries support for size and shortly also style & state, Which generally suggests a native way for an if/else issue. Under is an incredibly simplified case in point. - Really helps to log in on several devices and unique browsers in several running devices https://tripsbookmarks.com/story19416732/about-selected-left-right-column