Skip to content

Commit 3576ce3

Browse files
committed
增加 flex
1 parent 86d814e commit 3576ce3

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/index.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2 class="border-b-1 border-b-solid border-gray-200 pb-4 mt-5 font-bold">Colors
5151
<div class="row p-b-30">
5252
<div class="col-3 mt-5 overflow-hidden" v-for="(color, index) in colors" :key="index">
5353
<div class="rounded-default overflow-hidden">
54-
<div class="p-2 text-c text-sm" :class="`text-${index}-${i == 500 ? '' : 1000 - i} bg-${index}-${i}`"
54+
<div class="p-3 text-c text-xs" :class="`text-${index}-${i == 500 ? '' : i} bg-${index}-${1000-i}`"
5555
v-for="(item, i) in color">
5656
{{index.toLocaleUpperCase()}} {{i}}
5757
</div>
@@ -165,6 +165,17 @@ <h2 id="border-radius" class="border-b-1 border-b-solid border-gray-200 py-5 fon
165165
<p class="my-5">.shadow-{{item}}</p>
166166
</div>
167167
</div>
168+
169+
<!-- flex -->
170+
<h2 id="border-radius" class="border-b-1 border-b-solid border-gray-200 py-5 font-bold">flex</h2>
171+
<div class="row my-5">
172+
<div class="col-12">
173+
<div class="flex">
174+
<div class="w-16 h-16 border border-yellow-400 mr-10 flex justify-center items-center" v-for="i in 6">
175+
.flex</div>
176+
</div>
177+
</div>
178+
</div>
168179
</div>
169180
<div class="sidebar col-3">
170181
<div>
@@ -194,11 +205,11 @@ <h3 class="font-bold pl-2 text-2xl mt-5">Category</h3>
194205
'border',
195206
'border-radius',
196207
'box-shadow',
208+
'flex',
197209
'alignment',
198210
'gutter',
199211
'display',
200212
'position',
201-
'flex'
202213
],
203214
colors: {
204215
gray: {

0 commit comments

Comments
 (0)