Class: .own-size: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


<pre class="xml">
<pre class="xml">
<div id=”flipbook”>
<div id="flipbook">
<div>Page 1 with default size</div>
<div>Page 1 with default size</div>
<div class=”own-size” style=”width:100; height:100px;>
<div class="own-size" style="width:100; height:100px;">
Page 2 with own size
Page 2 with own size
</div>
</div>

Revision as of 04:51, 7 July 2012

Customizes the size of a page. The CSS rules width and height can be added directly to the page selector or using the style parameter. For example:

<div id="flipbook">
	<div>Page 1 with default size</div>
	<div class="own-size" style="width:100; height:100px;">
		Page 2 with own size
	</div>
</div>

<yambe:breadcrumb>Turn CSS</yambe:breadcrumb>