Just want to change the background dynamically, do not feel able to do this, what do I remember here? I should clarify, that this is the backdrop of the container device I'm trying to change ...
$ ('# container'). Click (function () {$ (this) ToggleClass ('bgchange');}); $ ('# Container ul li'). Click (function () {$ (this) .toggleClass ('bgchange');});
Bella
ID identifier class is more specific than container CSS For the identifier so that it gets overwritten, therefore if you want to override the container and also changes the color, then ! Important
Add Example
No comments:
Post a Comment