+
95
-

点名神器js代码怎么写?

点名神器js代码怎么写?

网友回复

+
16
-
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>BFW NEW PHP PAGE</title>


    <style>
        #box {
            width: 30%;
            height: 200px;
            background-color: rgb(233, 248, 214);
            border: 1px solid rgb(130, 216, 18);
            font-size: 40px;
            font-weight: 600;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 200px;
            text-align: center;
            margin: 25px auto;
            border-radius: 10px;
        }
        span {
            display: block;
            width: 30%;
            height: 44px;
            line-height: 44px;
            background-color: rgb(6, 158, 64);
            border-radius: 10px;
            color: #fff;
            text-align: center;
            margin: 0 auto;
            font-size: 18px;
            font-family: 华文细黑;
        }
        span:hover {
            background-color: rgb(4, 190, 76);
        }
    </style>
</head>
<body>
    <div id="box">
        随机点名
    </div>
    <span id="span">开始</span>
    <script type="text/javascript">

        var arr = ["西施", "马超", "曜", "云中君", "瑶", "猪八戒", "嫦娥", "伽罗", "盾山", "司马懿", "孙策", "元歌", "米莱狄", "狂铁", "弈星", "裴擒虎",
            "杨玉环", "公孙...

点击查看剩余70%

我知道答案,我要回答