I have a navigation and one of the buttons needs to be highlighted!
It needs to have font-weight: 600; and after 2 seconds it goes back to font-weight: 0; and it repeats all the time – time between “font-weight” changes is 2 seconds. How to make a loop?
Just
toggleClass()inside aninterval:jsBin demo
CSS:
jQuery: