The [class ^="container"] selector doesn't work in some cases. e.g.
<div class="navbar">
<div class="py-2 container">...</div>
</div>
And it has a potential to break user's custom CSS:
<div class="navbar">
<div class="container-custom">...</div>
</div>
Even with some increase CSS, should not use attribute selectors for safety.
The
[class ^="container"]selector doesn't work in some cases. e.g.And it has a potential to break user's custom CSS:
Even with some increase CSS, should not use attribute selectors for safety.