快捷导航

问下我的这个有的背景为什么显示不出来

Title            .wrap,.box-one,.box-two,.box-three{            display: flex;            flex-direction: row;            justify-content:space-around;            align-items: center;            border:1px solid #000000;        }        .wrap{            width:398px;            height:98px;        }        .box-one{            width:45%;            height:80%;        }        .box-two{            width:45%;            height:80%;        }        .box-three{            width:40%;            height:80%;        }        /*前序*/ .btn{            float: left;            width:50px;            height:30px;            margin-top: 10px;            margin-left:10px;            line-height: 30px;            text-align: center;            border:1px solid #000000;            cursor: pointer;        }                                            
               
            
                           
               
            
        
                                    
               
            
                           
               
            
        
   
                                       
               
            
                           
               
            
        
                                    
               
            
                           
               
            
        
   

    前序
    中序
    后序

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

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

回复

使用道具 举报

参与会员1

1212//这你这里给的背景色是白色页面背景本来就是白色的,也可看不到,你可以像下面这样,改成红色if(i>arr.length-1){//如果大于数组长度,数组每次小于1的就变背景然后清除清时期arr[arr.length-1].style.backgroundColor="#f00";clearInterval(timer);}
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP