Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.564 kb
c43b9f1 Add docs for generating gh-page
authored
1 ---
2 category: reference
3e52305 Add numbering order to how-to steps
aaron authored
3 heading: "2) Add the class <code>'cleanslate'</code> to the container html"
c43b9f1 Add docs for generating gh-page
authored
4 ---
5
6 The `cleanslate` element will have its styles reset:
7
8 <body>
9 <div class="blah">
10 <!-- general content is not affected -->
11 <div class="myContainer cleanslate">
12 <!-- this content will be reset -->
13 </div>
14 </div>
15 </body>
16
17 The classes `blah` and `myContainer` in this example are not required.
18 The class `cleanslate` _is_ required.
19
20 Or, if using jQuery:
21
22 $('.myContainer').addClass('cleanslate');
Something went wrong with that request. Please try again.