Anjanesh LekshminarayananforCSSanjanesh-1652878468965.hashnode.net·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·39 readsselectorsAdd a thoughtful commentNo comments yetBe the first to start the conversation.