html+css3+jQuery双色球随机选号特效
的有关信息介绍如下:
html+css3+jQuery双色球随机选号特效
新建html文档。
书写hmtl代码。
选号
遗漏
01
0
02
2
03
6
04
2
05
1
06
0
07
5
08
3
09
0
10
0
11
9
12
7
13
0
14
3
15
7
16
4
17
4
18
8
19
1
20
2
21
1
22
3
23
1
24
3
25
0
26
2
27
3
28
5
29
2
30
4
31
10
32
12
33
1
- 6
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
清空
01
28
02
5
03
48
04
29
05
56
06
9
07
4
08
0
09
22
10
3
11
2
12
1
13
25
14
13
15
37
16
12
- 全选
- 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
清空
书写css代码。
* { margin: 0; padding: 0; -webkit-text-stroke-width: 0px; -moz-text-stroke-width: 0px; -o-text-stroke-width: 0px; -ms-text-stroke-width: 0px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; }
body { font-style: normal; font-family: \5FAE\8F6F\96C5\9ED1, 'Tahoma', 'Arial', 'Helvetica', 'sans-serif'; background-color: #FFF; font-size: 12px; color: #000; }
a { color: #000; font-size: 12px; text-decoration: none; }
input, select, textarea { vertical-align: middle; width: auto; outline: none; border: 0; }
select { appearance: normal; -webkit-appearance: none; -moz-appearance: none; }
img { vertical-align: middle; border: 0; outline: none; }
div, p, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6 { display: block; width: auto; height: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0px; border: 0; }
.ssq_area { clear: both; width: 800px; overflow: hidden; margin: 0 auto; margin-top: 50px; padding: 20px; }
.select_ball_area { clear: both; width: 100%; }
.redball_area { float: left; width: 480px; }
.redball_rule { clear: both; width: 100%; height: 30px; line-height: 30px; overflow: hidden; font-size: 14px; color: #000; text-align: center; margin-bottom: 10px; }
.redball_rule strong { font-size: 15px; color: red; margin-right: 5px; }
.redball_selected_area { clear: both; width: 100%; overflow: hidden; padding-left: 40px; position: relative; }
.redball_selected_area dt { float: left; width: 50px; height: 50px; overflow: hidden; position: absolute; z-index: 1; top: 0px; left: 0px; }
.redball_selected_area dt p { clear: both; width: 30px; height: 20px; line-height: 18px; overflow: hidden; font-size: 14px; color: #000; background-color: #ccc; margin: 5px 0px; text-align: center; }
.redball_selected_area dt span { clear: both; width: 30px; overflow: hidden; font-size: 14px; color: #000; text-align: center; }
.redball_selected_area dd { float: left; width: 40px; height: 50px; overflow: hidden; margin-bottom: 15px; text-align: center; }
.redball_selected_area dd p { clear: both; width: 30px; height: 30px; line-height: 28px; overflow: hidden; border: 1px solid #333; border-radius: 20px; background-color: #eee; font-size: 16px; color: #333; font-weight: bold; margin: 0 auto; text-align: center; cursor: pointer; }
.redball_selected_area dd p.active1 { background-color: red; color: #fff; }
.redball_selected_area dd span { clear: both; width: 100%; overflow: hidden; font-size: 14px; color: #ccc; text-align: center; }
.blueball_area { float: left; width: 240px; margin-left: 20px; }
.blueball_rule { clear: both; width: 100%; height: 30px; line-height: 30px; overflow: hidden; font-size: 14px; color: #000; text-align: center; margin-bottom: 10px; }
.blueball_rule strong { font-size: 15px; color: blue; margin-right: 5px; }
.blueball_area ul { clear: both; width: 100%; overflow: hidden; }
.blueball_area ul li { float: left; width: 40px; height: 50px; overflow: hidden; margin-bottom: 15px; text-align: center; }
.blueball_area ul li p { display: block; clear: both; width: 30px; height: 30px; line-height: 28px; overflow: hidden; border: 1px solid #333; border-radius: 20px; background-color: #eee; font-size: 16px; color: #333; font-weight: bold; margin: 0 auto; text-align: center; cursor: pointer; }
.blueball_area ul li p.active2 { background-color: blue; color: #fff; }
.blueball_area ul li span { clear: both; width: 100%; overflow: hidden; font-size: 14px; color: #ccc; text-align: center; }
.blueball_area ul li.selectall_box { float: left; width: 40px; height: 25px; line-height: 23px; overflow: hidden; border: 1px solid #ccc; background-color: #eee; font-size: 14px; color: #000; margin-top: 5px; margin-left: 10px; cursor: pointer; }
.blueball_area ul li.selectall_box:hover { color: red; }
.machine_redselected_area { clear: both; width: 100%; }
.machine_redselected_area dl { float: left; width: 45px; position: relative; }
.machine_redselected_area dl dt { clear: both; width: 100%; height: 25px; border: 1px solid #000; padding: 2px; }
.machine_redselected_area dl dt em { float: left; width: 55%; height: 21px; line-height: 21px; overflow: hidden; font-size: 14px; color: #000; text-align: center; font-style: normal; }
.machine_redselected_area dl dt span { float: left; width: 45%; height: 21px; line-height: 25px; overflow: hidden; font-size: 12px; color: #000; text-align: center; cursor: pointer; }
.machine_redselected_area dl dd { display: none; clear: both; width: 100%; border: 1px solid #000; background-color: #fff; position: absolute; z-index: 10; top: 25px; left: 0px; }
.machine_redselected_area dl dd p { clear: both; width: 100%; height: 18px; line-height: 18px; overflow: hidden; font-size: 14px; color: #000; text-indent: 8px; }
.machine_redselected_area dl dd p:hover { background-color: #09c; }
.machine_selectedred { float: left; width: 80px; height: 25px; line-height: 23px; overflow: hidden; border: 1px solid #000; background-color: #eee; margin-left: 20px; font-size: 14px; color: red; padding-right: 3px; cursor: pointer; }
.machine_selectedred span { float: left; width: 18px; height: 23px; line-height: 25px; overflow: hidden; font-size: 18px; color: red; text-align: center; }
.machine_redselected_area strong { float: left; width: 80px; height: 25px; line-height: 25px; overflow: hidden; font-size: 14px; color: blue; font-weight: 400; margin-left: 10px; cursor: pointer; }
.machine_redselected_area strong:hover { color: red; }
.machine_blueselected_area { clear: both; width: 100%; }
.machine_blueselected_area dl { float: left; width: 45px; position: relative; }
.machine_blueselected_area dl dt { clear: both; width: 100%; height: 25px; border: 1px solid #000; padding: 2px; }
.machine_blueselected_area dl dt em { float: left; width: 55%; height: 21px; line-height: 21px; overflow: hidden; font-size: 14px; color: #000; text-align: center; font-style: normal; }
书写并添加js代码。
代码整体结构。
查看效果。



