Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (33 sloc) 0.746 kB
<?xml version="1.0"?>
<entry name="puff" type="effect">
<title>Puff Effect</title>
<desc>
Creates a puff effect by scaling the element up and hiding it at the same time.
</desc>
<arguments>
<argument name="percent" type="Number" default="150">
<desc>The percentage to scale to.</desc>
</argument>
</arguments>
<example>
<height>200</height>
<desc>Toggle a div using the puff effect.</desc>
<css><![CDATA[
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
]]></css>
<code><![CDATA[
$( document ).click(function() {
$( "#toggle" ).toggle( "puff" );
});
]]></code>
<html><![CDATA[
<p>Click anywhere to toggle the box.</p>
<div id="toggle"></div>
]]></html>
</example>
<category slug="effects"/>
</entry>
Jump to Line
Something went wrong with that request. Please try again.