Skip to content

Commit f3cbc53

Browse files
committed
add video in main page
1 parent 2b6050e commit f3cbc53

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/pages/index/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ h1 {
126126
.code_wrapper {
127127
overflow: auto;
128128
}
129+
.biliiframe {
130+
width: 100%;
131+
min-height: 40em;
132+
border-radius: 0.5em;
133+
border: 1em solid white;
134+
}
129135
@media screen and (min-width: 1280px) {
130136
.md_page #page_content > div
131137
{
@@ -137,6 +143,10 @@ h1 {
137143
.code_wrapper {
138144
font-size: 0.6em;
139145
}
146+
.biliiframe {
147+
width: 100%;
148+
min-height: 20em;
149+
}
140150
}
141151
</style>
142152

@@ -298,12 +308,14 @@ MaixVision
298308

299309
## 更多特性
300310

301-
<div class="flex flex-col justify-center items-center">
311+
<div class="flex flex-col justify-center items-center w-full">
302312

303313
以下为部分功能简介,更多到[社区](#community)找到更多
304314

305315
基于 MaixPy 提供的丰富 API 可以创造出更多新功能
306316

317+
<iframe src="//player.bilibili.com/player.html?isOutside=true&aid=113485669204279&bvid=BV1ncmRYmEDv&cid=26768769718&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" class="biliiframe"></iframe>
318+
307319
</div>
308320

309321
<div class="flex flex-wrap justify-between">

0 commit comments

Comments
 (0)