发表于: 2020-08-18 23:22:48

1 1302


今天完成的事情:

完成任务3页面的布局


            body {
                background-color#29bde0;
            }

            .nav {
                displayflex;
                justify-contentspace-between;
                align-itemscenter;
                height4rem;
                font-size1.7rem;
                colorwhite;
                margin-bottom1rem;
                padding0 2%;
                border-bottom1px solid #74d4eb;
            }

            .nav img {
                zoom.5;
            }

            main {
                margin-top4rem;
                displayflex;
                justify-contentcenter;
                align-itemscenter;
            }

            .boxs {
                positionrelative;
                displayflex;
                justify-contentcenter;
                align-itemscenter;
                width70%;
                height325px;
                background-color#ffedc5;
                border3px solid white;
            }

            .shuzi {
                positionabsolute;
                top-1.5rem;
                width3rem;
                height3rem;
                line-height3rem;
                text-aligncenter;
                background-colorwhite;
                color#f56b81;
                border2px solid #ffedc5;
                border-radius50%;
            }

            .pic1 {
                backgroundurl("./images/翻牌_07.png"no-repeat 50%;
                width30rem;
                height30rem;
                border-radius50%;
                zoom.5;
            }

            /* 查看身份 */
            .last {
                text-aligncenter;
                margin-top20px;
            }

            .last button {
                width70%;
                height50px;
                font-size2rem;
                colorwhite;
                background-colororange;
                border0;
            }


明天的计划:

实现js点击显示下一张页面的效果


返回列表 返回列表
评论

    分享到