index.scss 834 Bytes
Newer Older
zhanghaozhe committed
1
#main-banner{
zhanghaozhe committed
2
    overflow: auto;
zhanghaozhe committed
3 4 5 6 7 8 9
    .banner{
        width: 375px;
        height: 183px;
        background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/banner.png") no-repeat;
        background-size: contain;
    }
    #main-nav{
zhanghaozhe committed
10 11
        position: absolute;
        top: 183px;
FE committed
12
        width: 100%;
zhanghaozhe committed
13
        margin-bottom:30px;
FE committed
14

zhanghaozhe committed
15 16 17 18 19
        &.fixed{
            position: fixed;
            top: 0;
            z-index: 100;
        }
zhanghaozhe committed
20 21 22 23 24
        ul{
            background: #3900C9;
            display: flex;
        }
        li{
FE committed
25
            flex: 1;
zhanghaozhe committed
26 27 28 29 30 31
            width: 63px;
            height: 30px;
            font-size: 11px;
            color: #fff;
            text-align: center;
            line-height: 30px;
zhanghaozhe committed
32 33 34
            &.active{
                background: #FF42F9;
            }
zhanghaozhe committed
35 36 37
        }
    }
}