Skip to content

Commit 4c96304

Browse files
committed
doc(button-content): Update and rearrange content for readability
1 parent fc615ac commit 4c96304

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pug/page-contents/buttons_content.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<div class="col s12 m8 offset-m1 xl7 offset-xl1">
55
<div id="raised" class="section scrollspy">
66
<p class="caption">
7-
There are 3 main button types described in material design. The raised button is a standard button that signify actions and seek to give depth to a mostly flat page. The floating circular action button is meant for very important functions. Flat buttons are usually used within elements that already have depth like cards or modals.
7+
There are 3 main button types described in material design - the raised button, the floating, and the flat button button.
88
</p>
99
<h3 class="header">Raised</h3>
10+
<p>The raised button is a standard button that signify actions and seek to give depth to a mostly flat page.</p>
1011
<a class="waves-effect waves-light btn">button</a>
1112
<a class="waves-effect waves-light btn"><i class="material-icons left">cloud</i>button</a>
1213
<a class="waves-effect waves-light btn"><i class="material-icons right">cloud</i>button</a>
@@ -22,6 +23,7 @@ <h3 class="header">Raised</h3>
2223
</div>
2324
<div id="floating" class="section scrollspy">
2425
<h3 class="header">Floating</h3>
26+
<p>The floating button is meant for very important functions.</p>
2527
<a class="btn-floating waves-effect waves-light btn-large red"><i class="material-icons">add</i></a><br><br>
2628
<pre style="padding-top: 0px;">
2729
<span class="copyMessage">Copied!</span>
@@ -33,10 +35,11 @@ <h3 class="header">Floating</h3>
3335
<br>
3436

3537
<h5>Floating Action Button</h5>
36-
<p>See the documentation on <a href="floating-action-button.html">this page</a></p>
38+
<p>A circular material button that lifts and displays an ink reaction on press. See the documentation on <a href="floating-action-button.html">this page</a></p>
3739
</div>
3840
<div id="flat" class="section scrollspy">
3941
<h3 class="header">Flat</h3>
42+
4043
<p>Flat buttons are used to reduce excessive layering. For example, flat buttons are usually used for actions within a card or modal so there aren't too many overlapping shadows.</p>
4144
<a class="waves-effect waves-teal btn-flat">Button</a>
4245
<pre style="padding-top: 0px;">

0 commit comments

Comments
 (0)