-
Notifications
You must be signed in to change notification settings - Fork 1
/
block_buttons.html
42 lines (42 loc) · 2.08 KB
/
block_buttons.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Block Buttons</title>
<link rel="stylesheet" href="./node_modules/@dds-uicore/all/dist/css/dds-reboot.min.css" />
<link rel="stylesheet" href="./node_modules/@dds-uicore/all/dist/css/dds-grid.css" />
<link rel="stylesheet" href="./node_modules/@dds-uicore/all/dist/css/dds-all-with-fonts.css" />
</head>
<body>
<p>
Block buttons fill the width of their containers and are commonly used in product stacks, comparison tables
and on smartphone breakpoints.
</p>
<p><b>Primary Non-Purchase Block</b></p>
<p>
Used for page actions that serve
<strong>the primary purpose of the page, if unrelated to making a purchase</strong>. If the CTA is for
navigation rather than performing an action, use a <a href="#">link styled as a button</a> instead.
</p>
<button type="button" class="dds__btn dds__btn-primary dds__btn-block dds__text-truncate">Primary Block</button>
<br />
<p><b>Secondary Block</b></p>
<p>
Used for <strong>important page actions that are not the primary page purpose</strong>. If the CTA is for
navigation rather than performing an action, use a <a href="#">link styled as a button</a> instead.
</p>
<button type="button" class="dds__btn dds__btn-secondary dds__btn-block dds__text-truncate">
Secondary Block
</button>
<p><b>Purchased Block</b></p>
<p>
Used for page actions that serve
<strong>the primary purpose of the page, which are related to making a purchase</strong>. If the CTA is for
navigation rather than performing an action, use a <a href="#">link styled as a button</a> instead.
</p>
<button type="button" class="dds__btn dds__btn-purchase dds__btn-block dds__text-truncate">
Purchase Block
</button>
</body>
</html>