Skip to content

Commit

Permalink
docs: 优化用例
Browse files Browse the repository at this point in the history
  • Loading branch information
hxg2050 committed Mar 1, 2024
1 parent f24ac95 commit d43027c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
border-radius: 5px;
}

#block {
.block-bg {
margin: 20px;
padding: 20px 0;
background-color: #484c53;
border-radius: 5px;
width: 550px;
}

#block {
margin-left: 0;
width: 50px;
height: 50px;
Expand All @@ -36,7 +43,9 @@
<input type="checkbox" id="loop" checked /> Infinity
</label>
</div>
<div id="block"></div>
<div class="block-bg">
<div id="block"></div>
</div>
<button id="btn">PLAY</button>
<button id="stop">STOP</button>
<button id="complete">COMPLETE</button>
Expand Down

0 comments on commit d43027c

Please sign in to comment.