I have the following code, where my intent is that where in class .breadcrumb a
the term "biblical" appears, this class has its style changed only where the resolution is less than 320px, but so far did not work. What could be wrong, guys? Thank you in advance!
<script>
if ($(window).width() < 320) {$(".breadcrumb a:contains('bíblicas')").css("background-color", "green");}
</script>