Anjanesh Lekshminarayanancss.co.in·Feb 26, 2023Using the :has selector to display full with of a containerFinally, 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 ...5 likes·28 readsselectors