Skip to content

Commit 2081522

Browse files
committed
淡入淡出效果
1 parent b92b4e6 commit 2081522

File tree

1 file changed

+9
-2
lines changed
  • 慕课网教程案例/jQuery入门教程/淡入淡出效果

1 file changed

+9
-2
lines changed

慕课网教程案例/jQuery入门教程/淡入淡出效果/fadeIn.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
66
<title></title>
77
<style>
8+
select{
9+
width:100%;
10+
height: 30px;
11+
}
812
p {
913
color: red;
1014
display: none;
@@ -17,7 +21,9 @@
1721
<h2>fadeIn</h2>
1822
<p>测试文字淡出效果</p>
1923
<p>慕课网,专注分享</p>
20-
淡出的隐藏效果:
24+
选择:淡出的隐藏效果
25+
</br>
26+
</br>
2127
<select id="animation">
2228
<option value="1">fadeIn( )</option>
2329
<option value="2">fadeIn( "slow" )</option>
@@ -26,7 +32,8 @@ <h2>fadeIn</h2>
2632
<option value="5">fadeIn( 1000, "linear" )</option>
2733
<option value="6">fadeIn( options )</option>
2834
</select>
29-
<input id="btnFadeIn" type="button" value="显示" />
35+
</br></br>
36+
<input id="btnFadeIn" type="button" value="执行淡出效果" />
3037
<input id="btnHide" type="button" value="点击隐藏" />
3138
<script type="text/javascript">
3239
//【显示】按钮

0 commit comments

Comments
 (0)