1
+ <template >
2
+ <CRow >
3
+ <CCol >
4
+ <CCard >
5
+ <CCardHeader >
6
+ Headings
7
+ </CCardHeader >
8
+ <CCardBody >
9
+ <p >Documentation and examples for Bootstrap typography,
10
+ including global settings, headings, body text, lists, and more.</p >
11
+ <CTable >
12
+ <CTableHead >
13
+ <CTableRow >
14
+ <CTableHeaderCell >Heading</CTableHeaderCell >
15
+ <CTableHeaderCell >Example</CTableHeaderCell >
16
+ </CTableRow >
17
+ </CTableHead >
18
+ <CTableBody >
19
+ <CTableRow >
20
+ <CTableDataCell >
21
+ <p >
22
+ <code class =" highlighter-rouge" >
23
+ < ; h1> ;< ; /h1> ;
24
+ </code >
25
+ </p >
26
+ </CTableDataCell >
27
+ <CTableDataCell ><span class =" h1" >h1. Bootstrap heading</span ></CTableDataCell >
28
+ </CTableRow >
29
+ <CTableRow >
30
+ <CTableDataCell >
31
+ <p >
32
+ <code class =" highlighter-rouge" >
33
+ < ; h2> ;< ; /h2> ;
34
+ </code >
35
+ </p >
36
+ </CTableDataCell >
37
+ <CTableDataCell ><span class =" h2" >h2. Bootstrap heading</span ></CTableDataCell >
38
+ </CTableRow >
39
+ <CTableRow >
40
+ <CTableDataCell >
41
+ <p >
42
+ <code class =" highlighter-rouge" >
43
+ < ; h3> ;< ; /h3> ;
44
+ </code >
45
+ </p >
46
+ </CTableDataCell >
47
+ <CTableDataCell ><span class =" h3" >h3. Bootstrap heading</span ></CTableDataCell >
48
+ </CTableRow >
49
+ <CTableRow >
50
+ <CTableDataCell >
51
+ <p >
52
+ <code class =" highlighter-rouge" >
53
+ < ; h4> ;< ; /h4> ;
54
+ </code >
55
+ </p >
56
+ </CTableDataCell >
57
+ <CTableDataCell ><span class =" h4" >h4. Bootstrap heading</span ></CTableDataCell >
58
+ </CTableRow >
59
+ <CTableRow >
60
+ <CTableDataCell >
61
+ <p >
62
+ <code class =" highlighter-rouge" >
63
+ < ; h5> ;< ; /h5> ;
64
+ </code >
65
+ </p >
66
+ </CTableDataCell >
67
+ <CTableDataCell ><span class =" h5" >h5. Bootstrap heading</span ></CTableDataCell >
68
+ </CTableRow >
69
+ <CTableRow >
70
+ <CTableDataCell >
71
+ <p >
72
+ <code class =" highlighter-rouge" >
73
+ < ; h6> ;< ; /h6> ;
74
+ </code >
75
+ </p >
76
+ </CTableDataCell >
77
+ <CTableDataCell ><span class =" h6" >h6. Bootstrap heading</span ></CTableDataCell >
78
+ </CTableRow >
79
+ </CTableBody >
80
+ </CTable >
81
+ </CCardBody >
82
+ </CCard >
83
+ <CCard >
84
+ <CCardHeader >
85
+ Headings
86
+ </CCardHeader >
87
+ <CCardBody >
88
+ <p >
89
+ <code class =" highlighter-rouge" >.h1</code > through
90
+ <code class =" highlighter-rouge" >.h6</code >
91
+ classes are also available, for when you want to match the font
92
+ styling of a heading but cannot use the associated HTML element.
93
+ </p >
94
+ <div class =" bd-example" >
95
+ <p class =" h1" >h1. Bootstrap heading</p >
96
+ <p class =" h2" >h2. Bootstrap heading</p >
97
+ <p class =" h3" >h3. Bootstrap heading</p >
98
+ <p class =" h4" >h4. Bootstrap heading</p >
99
+ <p class =" h5" >h5. Bootstrap heading</p >
100
+ <p class =" h6" >h6. Bootstrap heading</p >
101
+ </div >
102
+ </CCardBody >
103
+ </CCard >
104
+ <CCard >
105
+ <CCardHeader >
106
+ Display headings
107
+ </CCardHeader >
108
+ <CCardBody >
109
+ <p >
110
+ Traditional heading elements are designed to work best in the meat
111
+ of your page content. When you need a heading to stand out,
112
+ consider using a <strong >display heading</strong >—a larger,
113
+ slightly more opinionated heading style.
114
+ </p >
115
+ <div class =" bd-example bd-example-type" >
116
+ <CTable >
117
+ <CTableBody >
118
+ <CTableRow >
119
+ <CTableDataCell ><span class =" display-1" >Display 1</span ></CTableDataCell >
120
+ </CTableRow >
121
+ <CTableRow >
122
+ <CTableDataCell ><span class =" display-2" >Display 2</span ></CTableDataCell >
123
+ </CTableRow >
124
+ <CTableRow >
125
+ <CTableDataCell ><span class =" display-3" >Display 3</span ></CTableDataCell >
126
+ </CTableRow >
127
+ <CTableRow >
128
+ <CTableDataCell ><span class =" display-4" >Display 4</span ></CTableDataCell >
129
+ </CTableRow >
130
+ </CTableBody >
131
+ </CTable >
132
+ </div >
133
+ </CCardBody >
134
+ </CCard >
135
+ <CCard >
136
+ <CCardHeader >
137
+ Inline text elements
138
+ </CCardHeader >
139
+ <CCardBody >
140
+ <p >
141
+ Traditional heading elements are designed to work best in the meat
142
+ of your page content. When you need a heading to stand out,
143
+ consider using a <strong >display heading</strong >—a larger,
144
+ slightly more opinionated heading style.
145
+ </p >
146
+ <div class =" bd-example" >
147
+ <p >You can use the mark tag to <mark >highlight</mark > text.</p >
148
+ <p ><del >
149
+ This line of text is meant to be treated as deleted text.
150
+ </del ></p >
151
+ <p ><s >
152
+ This line of text is meant to be treated as no longer accurate.
153
+ </s ></p >
154
+ <p ><ins >
155
+ This line of text is meant to be treated as an addition to the document.
156
+ </ins ></p >
157
+ <p ><u >This line of text will render as underlined</u ></p >
158
+ <p ><small >
159
+ This line of text is meant to be treated as fine print.
160
+ </small ></p >
161
+ <p ><sCTableRowong >This line rendered as bold text.</sCTableRowong ></p >
162
+ <p ><em >This line rendered as italicized text.</em ></p >
163
+ </div >
164
+ </CCardBody >
165
+ </CCard >
166
+ <CCard >
167
+ <CCardHeader >
168
+ Description list alignment
169
+ </CCardHeader >
170
+ <CCardBody >
171
+ <p >
172
+ Align terms and descriptions horizontally by using our grid system’s
173
+ predefined classes (or semantic mixins). For longer terms, you can
174
+ optionally add a <code class =" highlighter-rouge" >.text-truncate</code >
175
+ class to truncate the text with an ellipsis.
176
+ </p >
177
+ <div class =" bd-example" >
178
+ <dl class =" row" >
179
+ <dt class =" col-sm-3" >Description lists</dt >
180
+ <dd class =" col-sm-9" >
181
+ A description list is perfect for defining terms.
182
+ </dd >
183
+
184
+ <dt class =" col-sm-3" >Euismod</dt >
185
+ <dd class =" col-sm-9" >
186
+ <p >Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</p >
187
+ <p >Donec id elit non mi porta gravida at eget metus.</p >
188
+ </dd >
189
+
190
+ <dt class =" col-sm-3" >Malesuada porta</dt >
191
+ <dd class =" col-sm-9" >
192
+ Etiam porta sem malesuada magna mollis euismod.
193
+ </dd >
194
+
195
+ <dt class =" col-sm-3 text-truncate" >Truncated term is truncated</dt >
196
+ <dd class =" col-sm-9" >
197
+ Fusce dapibus, tellus ac cursus commodo, tortor mauris
198
+ condimentum nibh, ut fermentum massa justo sit amet risus.
199
+ </dd >
200
+
201
+ <dt class =" col-sm-3" >Nesting</dt >
202
+ <dd class =" col-sm-9" >
203
+ <dl class =" row" >
204
+ <dt class =" col-sm-4" >Nested definition list</dt >
205
+ <dd class =" col-sm-8" >
206
+ Aenean posuere, tortor sed cursus feugiat, nunc augue nunc.
207
+ </dd >
208
+ </dl >
209
+ </dd >
210
+ </dl >
211
+ </div >
212
+ </CCardBody >
213
+ </CCard >
214
+ </CCol >
215
+ </CRow >
216
+ </template >
217
+
218
+ <script >
219
+ export default {
220
+ name: " Typography" ,
221
+ };
222
+ </script >
0 commit comments