Permalink
Browse files

Collapsible: Added info and demo of collapsible coner styling to the …

…docs.
  • Loading branch information...
1 parent d333e22 commit b6f18edfeb22dce6d00723d6d9f5686effcc7aaa @jaspermdegroot jaspermdegroot committed Dec 4, 2012
Showing with 14 additions and 1 deletion.
  1. +14 −1 docs/content/content-collapsible.html
@@ -157,6 +157,20 @@
<p>I'm the collapsible content with a themed content block set to "d".</p>
</div>
+ <h2>Corner styling</h2>
+
+ <p>To create an inset collapsible without rounded corners you can add the <code>data-corners="false"</code> attribute to the element.</p>
+
+ <code>
+ &lt;div data-role=&quot;collapsible&quot; <strong>data-corners=&quot;false&quot;</strong> data-theme=&quot;b&quot; data-content-theme=&quot;d&quot;&gt;
+ </code>
+
+ <p>This code will create an inset collapsible without rounded corners:</p>
+
+ <div data-role="collapsible" data-corners="false" data-theme="b" data-content-theme="d">
+ <h3>I'm a header</h3>
+ <p>I'm the collapsible content.</p>
+ </div>
<h2>Nested Collapsibles</h2>
@@ -211,7 +225,6 @@
</div>
-
<h2>Collapsible sets (accordions)</h2>
<p>It's possible to combine multiple collapsibles into a grouped set that acts like an <a href="content-collapsible-set.html">accordion widget</a>.</p>

0 comments on commit b6f18ed

Please sign in to comment.