I have a case where I use a frontend framework to beauty my website. In this framework when an input is focused (I mean when someone clicked input), the class is toggled. Unfortunately by jQuery. And the whole problem is I don't want to use a jQuery.
Is there any way to toggle class in CSS only?
<input type="text" name="street">
<label class="active"></label>
Class 'active' should be toggled in label element when input was clicked. Thanks!
EDIT: that topic is from 2013' and dosn't satisfy me :( c