会员可以在此提问,百战程序员老师有问必答
对大家有帮助的问答会被标记为“推荐”
看完课程过来浏览一下别人提的问题,会帮你学得更全面
截止目前,同学们一共提了 132463个问题
WEB前端全系列/第七阶段:ECMAScript6新特性模块/ES6 第一部分 31307楼
WEB前端全系列/第十六阶段:React企业级项目/宜居(商城类)高级React实战项目(旧) 31308楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/IO 流技术(旧) 31309楼
Python 全系列/第三阶段:Python 网络与并发编程/网络通信 31311楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/容器(旧) 31312楼

<div class="zhu">
    <div class="zhu-center">
        < img src="images/u=1487180403,3048898319&fm=15&gp=0.jpg" alt="">
        <div class="center-left">
            <ul>
                <li>< a href=" "><div>手机 电话卡<i class="iconfont">&#xe621</i></div></ a></li>
                <div class="right-list">
                    <ul>
                        <li>< a href="#">
                            < img src="images/c89e7b3a3495acaa0a4df271d9da59ea.png" alt="">
                            <p>小米10S</p >
                        </ a></li>
                    </ul>
                </div>



            </ul>

          </div>
        </div>

    </div>
    
.zhu{
    width: 100%;
    height: 460px;
    position: relative;

}
.zhu-center{
    width: 1226px;
    height: 100%;
    position: absolute;
    left: 50%;
    margin-left: -613px;
}
.center-left{
    width: 234px;
    height: 460px;
    padding: 20px 0 ;
    background-color: rgba(105,101,101,.6);
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
}
.center-left li{
    width: 234px;
    height: 42px;
    padding-left: 30px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 42px;
    text-align: left;
}
.center-left a{
    color: #fff;
}
.center-left i{
    float: right;
    padding-right: 20px;
}
.center-left>ul>li:hover{
    background-color: #ff6700;
}
.center-left>ul>li:hover .right-list{
    display: block;
}
.center-left>ul li:hover i{
    color: #e0e0e0;
}
.right-list {
    width: 992px;
    height: 460px;
    position: absolute;
    top: 0;
    left: 234px;
    border: 1px solid #e0e0e0;
    border-left: none;
    background-color: #fff;
    padding: 2px 0;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0,0,0,.18);
    display: none;
}
.right-list>ul{
    float: left;
    width: 247.75px;
    height: 100%;
    box-shadow: none;
}
.right-list li{
   height: 76px;
    width: 100%;
    padding: 18px 20px 18px 20px;
    box-sizing: border-box;
}
.right-list p{
    color: #333;
    font-size: 14px;
    line-height: 40px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
}
.right-list img{
    float: left;
    margin-right: 14px;
}
.right-list li:hover p{
   color: #ff6700;
}    
  
  
老师,我想问问,怎么我鼠标悬停在左边的li上,右边的list不出现


WEB前端全系列/第一阶段:HTML5+CSS3模块/CSS3新特性 31314楼
JAVA 全系列/第一阶段:JAVA 快速入门/变量、数据类型、运算符 31316楼
JAVA 全系列/第三阶段:数据库编程/Oracle 数据库的使用 31318楼

pygame
SCREEN_WIDTH=SCREEN_HIGHT=BG_COLOR=pygame.Color()
TEXT_COLOR=pygame.color()
MainGame():
    window=():
        ():
        pygame.display.init()
        MainGame.widow=pygame.display.set_mode([SCREEN_WIDTHSCREEN_HIGHT])
        pygame.display.set_caption()
        :
            MainGame.window.fill(BG_COLOR)
            .getEvent()
            MainGame.window.blit(.getTEXTSuface(%)())
            pygame.display.update()
    ():
        ()
        ()
    ():
        pygame.font.init()
        font=pygame.font.SysFont()
        textSuface=font.render(textTEXT_COLOR)
        textSuface
    ():
        eventlist=pygame.event.get()
        event eventlist:
            event.type ==pygame.QUIT:
                .endGame()
            event.type==pygame.KEYDOWN:
                event.key==pygame.K_LEFT:
                    ()
                event.key==pygame.K_RIGHT:
                    ()
                event.key==pygame.K_UP:
                    ()
                event.key==pygame.K_DOWN:
                    ()


Tank():
    ():
        .images={:pygame.image.load()}
        ():
        ():
        ():
        MyTank():
    ():
        EnemyTank(Tank):
    ():
        ().()
Bullet():
    ():
        ():
        ():
        Wall():
    ():
        ():
        Explode():
    ():
        ():
        Music():
    ():
        ():
        __name__==:
    MainGame().startGame()

image.png

Python 全系列/第二阶段:Python 深入与提高/游戏开发-坦克大战 31320楼

课程分类

百战程序员微信公众号

百战程序员微信小程序

©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园
网站维护:百战汇智(北京)科技有限公司
京公网安备 11011402011233号    京ICP备18060230号-3    营业执照    经营许可证:京B2-20212637