Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (33 sloc) 0.746 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?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>
Something went wrong with that request. Please try again.