jeudi 31 janvier 2019

Active Class of unable to fetch inside repeated element

.sample-4.sample li:nth-child(1) a.nav-link.active ~ li:last-child:after{transform:translateX(-290%)} .sample-4.sample li:nth-child(2) a.nav-link.active ~ li:last-child:after{transform:translateX(-104%)} .sample-4.sample li:nth-child(3) a.nav-link.active ~ li:last-child:after{transform:translateX(-90%)} .sample-4.sample li:nth-child(4) a.nav-link.active ~ li:last-child:after{transform:translateX(0%)}

what is wrong with this code? I am unable to execute upon click of active tabs.




Aucun commentaire:

Enregistrer un commentaire