• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

怎么让class为:diamond随机位置?

听指令的小方块2            *{            padding:0;            margin:0;        }        table{            border:2px solid #000000;            border-collapse: collapse;            margin:50px auto;        }        table th{            width:50px;            height:50px;            -webkit-box-sizing: border-box;            -moz-box-sizing: border-box;            box-sizing: border-box;            border:1px solid #ccc;        }        .red{            width:50px;            height:10px;            background: red;        }        .blue{            width:50px;            height:40px;            background: blue;        }        .rool{            width:415px;            margin:0 auto;        }        .rool .btn{            width:80px;            height:30px;            margin:10px;            color: #fff;            background:blue;            border:1px solid blue;            border-radius: 5px;            cursor: pointer;            transition: color .3s,background-color .3s; /*设置两个*/            /*过渡属性  需要时间   速度曲线    延迟开始时间*/ }        .rool .btn:hover{            background: #fff;            color: blue;        }                                1            2            3            4            5            6            7            8            9            10                            1                           
               
                                                                                                                                                    2                                                                                                                                                    3                                                                                                                                                    4                                                                                                                                                    5                                                                                                                                                    6                                                                                                                                                    7                                                                                                                                                    8                                                                                                                                                    9                                                                                                                                                    10                                                                                                                                            TRA LEF TRA TOP TRA RIG TRA BOT MOV LEF MOV TOP MOV RIG MOV BOT

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与1

css并没有提供随机函数的接口 你可以用js来控制

使用道具 举报

发新帖

发布任务需求已有1031168位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!