|
17 | 17 | </style> |
18 | 18 | </head> |
19 | 19 | <body> |
20 | | - <h3>The stacks pattern can be used to make tabs</h3> |
21 | | - <nav class="tabs"> |
22 | | - <a href="#sheet-1" class="current">Tab one</a> |
23 | | - <a href="#sheet-2">Tab two</a> <a href="#sheet-3">Tab three</a> |
24 | | - </nav> |
25 | | - <article class="pat-stacks"> |
| 20 | + <article class="pat-rich"> |
| 21 | + <p>The stacks pattern can for instance be used to make tabs. Use your own styling to create various manifestations of this interaction pattern.</p> |
| 22 | + </article> |
| 23 | + |
| 24 | + <div class="canvas-toolbar"> |
| 25 | + <nav class="tabs"> |
| 26 | + <a href="#sheet-1" |
| 27 | + class="small pat-button current">Tab one</a> |
| 28 | + <a href="#sheet-2" |
| 29 | + class="small pat-button">Tab two</a> |
| 30 | + <a href="#sheet-3" |
| 31 | + class="small pat-button">Tab three</a> |
| 32 | + </nav> |
| 33 | + </div> |
| 34 | + |
| 35 | + <article class="pat-stacks pat-rich"> |
26 | 36 | <section id="sheet-1"> |
27 | 37 | <h4>Sheet one</h4> |
28 | 38 | <p> |
@@ -51,15 +61,25 @@ <h4>Sheet three</h4> |
51 | 61 | </section> |
52 | 62 | </article> |
53 | 63 |
|
54 | | - <p> |
55 | | - Same pattern, but starting with another default tab by setting the |
56 | | - class current on the third tab in the source markup |
57 | | - </p> |
58 | | - <nav class="tabs"> |
59 | | - <a href="#sheet-a">Tab one</a> <a href="#sheet-b">Tab two</a> |
60 | | - <a href="#sheet-c" class="current">Tab three</a> |
61 | | - </nav> |
62 | | - <article class="pat-stacks"> |
| 64 | + <article class="pat-rich"> |
| 65 | + <p> |
| 66 | + Same pattern, but starting with another default tab by setting the |
| 67 | + class current on the third tab in the source markup |
| 68 | + </p> |
| 69 | + </article> |
| 70 | + |
| 71 | + <div class="canvas-toolbar"> |
| 72 | + <nav class="tabs"> |
| 73 | + <a href="#sheet-a" |
| 74 | + class="small pat-button">Tab one</a> |
| 75 | + <a href="#sheet-b" |
| 76 | + class="small pat-button">Tab two</a> |
| 77 | + <a href="#sheet-c" |
| 78 | + class="small pat-button current">Tab three</a> |
| 79 | + </nav> |
| 80 | + </div> |
| 81 | + |
| 82 | + <article class="pat-stacks pat-rich"> |
63 | 83 | <section id="sheet-a"> |
64 | 84 | <h4>Sheet one</h4> |
65 | 85 | <p> |
|
0 commit comments