Using the :has selector to display full with of a container
Finally, today I had a use-case for the :has selector which was first supported by Safari as reported by Jen Simmons.
I have this in my base.html :
<div id="main" class="grow mx-auto px-4">
{% block content %}{% endblock %}
</div>
which has the ...
css.co.in2 min read