forked from daveRendon/github-code-innovation-series
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
198 lines (174 loc) · 12.7 KB
/
index.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<meta charset="utf-8">
<title> Generador de Bootstrap card </title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class=" pt-4">
<div class="container px-lg-5">
<div class="tab-content">
<div class="tab-pane fade in show active" id="docsTabsOverview" role="tabpanel">
<div class="row">
<div class=" col-md-12">
<style>
blockquote {
margin-bottom: 0px !important;
}
</style>
<!-- Section: Content -->
<section class="">
<div id="app">
<div class="row">
<div class="col-md-4 mb-4 mb-md-0">
<div class="card">
<div class="card-body px-4">
<div class="text-center">
<button type="button" class="btn btn-primary mb-4 me-2"
v-on:click="reset">
Reset
</button>
</div>
<!-- formTitle -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formTitle" v-model="cardTitle" />
<label class="form-check-label" for="formTitle"> Title </label>
</div>
<!-- formText -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formText" v-model="cardText" />
<label class="form-check-label" for="formText"> Text </label>
</div>
<!-- formButton -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formButton" v-model="cardButton" />
<label class="form-check-label" for="formButton"> Button
</label>
</div>
<!-- formImage -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formImage" v-model="cardImage" />
<label class="form-check-label" for="formImage"> Image </label>
</div>
<!-- formHeader -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formHeader" v-model="cardHeader" />
<label class="form-check-label" for="formHeader"> Header
</label>
</div>
<!-- formFooter -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formFooter" v-model="cardFooter" />
<label class="form-check-label" for="formFooter"> Footer
</label>
</div>
<!-- formCenter -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formCenter" v-model="cardCenter" />
<label class="form-check-label" for="formCenter"> Center
</label>
</div>
<!-- formBorder -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formBorder" v-model="cardBorder" />
<label class="form-check-label" for="formBorder"> Border
</label>
</div>
<!-- formTextWhite -->
<div class="form-check">
<input class="form-check-input" type="checkbox" value=""
id="formTextWhite" v-model="cardTextWhite" />
<label class="form-check-label" for="formTextWhite">
White text
</label>
</div>
<!-- Custom color -->
<p class="text-center mb-2 mt-3"><strong>Custom color</strong></p>
<input type="color"
class="form-control form-control-color w-100 mb-4"
id="formColor" title="Choose your color" v-model="customColor"
style="max-width: 100%; height: 40px" />
</div>
</div>
</div>
<div class="col-md-8 mb-4 mb-md-0">
<!-- Section: Demo -->
<section class="border p-4 d-flex justify-content-center mb-4 bg-light">
<div :class="customClass" style="width: 22rem" :style="customStyle">
<div class="bg-image hover-overlay ripple" v-if="cardImage">
<img src="https://camo.githubusercontent.com/3d8782fec25373005a29c2ed4799daa3d15f2431164cb3c189fb03ad692a1bf7/68747470733a2f2f696e6e6f76616363696f6e2e636c6f75642f77702d636f6e74656e742f75706c6f6164732f323032322f30392f4f6e426f617264696e672e706e67"
class="img-fluid" alt="Beach" />
<a href="#!">
<div class="mask"
style="background-color: rgba(251, 251, 251, 0.15)">
</div>
</a>
</div>
<div class="card-header" v-if="cardHeader">Featured</div>
<div class="card-body">
<h5 class="card-title" v-if="cardTitle">Card title</h5>
<p class="card-text" v-if="cardText">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
<button type="button" class="btn btn-primary" v-if="cardButton">
Button
</button>
</div>
<div class="card-footer" v-if="cardFooter">2 days ago</div>
</div>
</section>
<!-- Section: Demo -->
<!-- Section: Generated code-->
<section id="section-generated-code" ref="code" class="mb-4">
<!-- prettier-ignore -->
<div class="docs-pills border mobile-hidden">
<div class="d-flex justify-content-between py-2"
style="padding-left: .6rem;">
<ul class="nav nav-pills p-2">
<li class="nav-item"><a class="nav-link active show "
role="tab">HTML</a></li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade active show "
role="tabpanel">
<pre class="grey lighten-3 mb-0 line-numbers language-html">
<code class="">
</code>
</pre>
</div>
</div>
</div>
</section>
<!-- Section: Generated code -->
</div>
</div>
</div>
</section>
<!-- Section: Content -->
</div>
</div>
</div>
</div>
</div>
</main>
<script src="https://unpkg.com/[email protected]/dist/vue.global.prod.js"></script>
<script src="main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.13.0/beautify-html.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.13.0/beautify.js"></script>
<blockquote>
</blockquote>
</body>
</html>