blob: 4ebdf1718f4e3b7f453b0d7c6ece1e5d8d6419eb (
plain)
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
43
44
45
46
47
48
49
50
|
extends ../_layout/_docs-layout.pug
block variables
- var slug = 'hero'
- var parent = 'layout'
- var title = 'Hero - Layout - Spectre.css CSS Framework'
- var description = 'The Hero container shows key featured content or information. Spectre.css CSS Framework is a lightweight, responsive and modern CSS framework for faster and extensible development.'
block docs-content
+docs-heading('hero', 'Hero')
include ../_layout/_ad-g.pug
p
| The Hero container shows key featured content or information.
.docs-demo.columns
.column
.hero.bg-gray
.hero-body
h1 Hero title
p This is a hero example
pre.code(data-lang='HTML')
code
:highlight(lang="html")
<div class="hero bg-gray">
<div class="hero-body">
<h1>Hero title</h1>
<p>This is a hero example</p>
</div>
</div>
.docs-demo.columns
.column
.hero.hero-sm.bg-dark
.hero-body
h1 Hero title
p This is a hero example
.docs-demo.columns
.column
.hero.hero-lg.bg-primary
.hero-body
h1 Hero title
p This is a hero example
include ../_layout/_ad-c.pug
include ../_layout/_footer.pug
|