Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (28 sloc) 581 Bytes
<?xml version="1.0"?>
<entry name="fade" type="effect">
<title>Fade Effect</title>
The fade effect hides or shows an element by fading it.
<desc>Toggle a div using the fade effect.</desc>
#toggle {
width: 100px;
height: 100px;
background: #ccc;
$( document ).click(function() {
$( "#toggle" ).toggle( "fade" );
<p>Click anywhere to toggle the box.</p>
<div id="toggle"></div>
<category slug="effects"/>
Jump to Line
Something went wrong with that request. Please try again.