Views
Actions

Class: .own-size

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
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 21:51, 6 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>
Main Page > Turn CSS > Class: .own-size