1.话不多说,直接上代码了。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="fk.PNG">
<title>随机抽奖</title>
<style>
*{
padding: 0;
margin: 0;
}
html{
height: 100%;
background: url("big.jpg") no-repeat;
}
.boxKing{
width: 1500px;
display: flex;
position: relative;
margin: 0 auto;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.5);
}
.king_left{
width: 800px;
height: 900px;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
margin-right: 50px;
}
#shu_t1 {
width: 100%;
height: 300px;
color: #ff8b00;<