CSS 3 slide-in from left transition

You can use CSS3 transitions or maybe CSS3 animations to slide in an element. For browser support: http://caniuse.com/ I made two quick examples just to show you how I mean. CSS transition (on hover) Demo One Relevant Code In this case, Im just transitioning the position from left: -100px; to 0; with a 1s. duration. It’s also possible to move … Read more

jQuery toggle CSS?

For jQuery versions lower than 1.9 (see https://api.jquery.com/toggle-event): Using classes in this case would be better than setting the css directly though, look at the addClass and removeClass methods alecwh mentioned.

Why adding version number to CSS file path?

From HTML5 ★ Boilerplate Docs: What is ?v=1″ ‘?v=1’ is the JavaScript/CSS Version Control with Cachebusting Why do you need to cache JavaScript CSS? Web page designs are getting richer and richer, which means more scripts and stylesheets in the page. A first-time visitor to your page may have to make several HTTP requests, but by … Read more