Sites like youtube.com or twitch.tv have a feature I call alternative views, where the player uses more screenspace compared to the default view.
How is this possible to implemented in tailwindcss using the just in time compiler?
<html class="player-large">
<body>
<!-- like using the build in darkMode: 'class' feature -->
</div>
</body>
</html>
The layout will be done with tailwinds grids features and the 'player-large' class on the html tag is meant for toggling the view.
my hope is to use it somehow like this:
<video class="lg:col-span-2 lg:large-player:col-span-full">...</video>
How can this be done?