0


HTML+CSS实现学成在线ui

听说学成在线是每一个学习前端学生必须经历的,我也是经历过了,现在分享部分页面的源码,希望对大家有所帮助。 下面是实现过程。

网页截图

当初写这个的时候还是刚学完浮动,老师也是给上强度了。

HTML代码

<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学成在线</title>
    <link rel="stylesheet" href="style.css">
</head>
 
<body>
    <div class="box1">
        <div class="top">
            <img class="logo" src="img/logo_03.png" alt="logo">
            <ul class="topul">
                <li><a class="t1" href="https://jiutian.site/">首页</a></li>
                <li><a class="t1" href="https://jiutian.site/">课程</a></li>
                <li><a class="t1" href="https://jiutian.site/">职业规划</a></li>
            </ul>
            <input type="text" placeholder="    输入关键词" class="find">
            <img class="user" src="img/user.png" alt="user">
            <a class="name">qq - leishui</a>
        </div>
        <div class="banner">
            <div class="php">
                <div class="avtivity">
                    <ul>
                        <li><a href="">前端开发<span class="jiantou">></span></a></li>
                        <li><a href="">后端开发<span class="jiantou">></span></a></li>
                        <li><a href="">移动开发<span class="jiantou">></span></a></li>
                        <li><a href="">人工智能<span class="jiantou">></span></a></li>
                        <li><a href="">商业预测<span class="jiantou">></span></a></li>
                        <li><a href="">云计算&大数据<span class="jiantou">></span></a></li>
                        <li><a href="">运维&从测试<span class="jiantou">></span></a></li>
                        <li><a href="">UI设计<span class="jiantou">></span></a></li>
                        <li><a href="">产品<span class="jiantou">></span></a></li>
                    </ul>
                </div>
                <div class="kecheng">
                    <h2>我的课程表</h2>
                    <div class="study">
                        <ul>
                            <li>
                                <h4>继续学习 程序语言设计</h4>
                                <p>正在学习-使用对象</p>
                            </li>
                            <li>
                                <h4>继续学习 程序语言设计</h4>
                                <p>正在学习-使用对象</p>
                            </li>
                            <li>
                                <h4>继续学习 程序语言设计</h4>
                                <p>正在学习-使用对象</p>
                            </li>
                        </ul>
                        <a href="https://jiutian.site/">全部课程</a>
                    </div>
                </div>
                <div class="clearfix"></div>
                <div class="jingpin">
                    <a href="https://jiutian.site/">精品推荐</a>
                    <a href="https://jiutian.site/">JQuery</a>
                    <a href="https://jiutian.site/">Spark</a>
                    <a href="https://jiutian.site/">MySQL</a>
                    <a href="https://jiutian.site/">JavaWeb</a>
                    <a href="https://jiutian.site/">MySQL</a>
                    <a href="https://jiutian.site/">JavaWeb</a>
                    <a href="https://jiutian.site/" class="change">修改兴趣</a>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="box2">
        <h3>精品推荐</h3>
        <a href="#" class="all">查看全部</a>
        <div class="clearfix"></div>
        <div class="F1">
            <div class="f f1">
                <img src="img/pic.jpg" alt="">
                <img class="new" src="img/hot.png" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pro_07.jpg" alt="">
                <img class="new" src="img/new.png" alt="">
                <span>Angular 2 最新框架+主流技术+项目实战</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/anr.png" alt="">
                <span>Android Hybrid APP开发实战 H5+原生!</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pic.jpg" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pro_07.jpg" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
        </div>
        <div class="F1" style="margin-top: 10px;">
            <div class="f f1">
                <img src="img/pic.jpg" alt="">
                <img class="new" src="img/hot.png" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pro_07.jpg" alt="">
                <img class="new" src="img/new.png" alt="">
                <span>Angular 2 最新框架+主流技术+项目实战</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/anr.png" alt="">
                <span>Android Hybrid APP开发实战 H5+原生!</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pic.jpg" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
            <div class="f">
                <img src="img/pro_07.jpg" alt="">
                <span>Think PHP 5.0 博客系统实战项目演练</span>
                <span><strong>高级</strong><strong> · 1125人在学习</strong></span>
            </div>
        </div>
        <div class="box3 F2">
            <div class="F3">
                <h3>编程入门</h3>
                <ul>
                    <li class="f"><a href="#">热门</a></li>
                    <li class="f"><a href="#">初级</a></li>
                    <li class="f"><a href="#">中级</a></li>
                    <li class="f"><a href="#">高级</a></li>
                </ul>
                <a href="#" class="all f1">查看全部</a>
            </div>
            <div class="clearfix"></div>
            <div class="F4">
                <div class="f1-1 F">
                    <img src="img/phpget.png" alt="">
                </div>
                <div class="f1-2">
                    <div class="f2">
                        <img src="img/图层155.png" alt="">
                    </div>
                    <div class="f3">
                        <div class="f3-1 F">
                            <img src="img/f3-1.png" alt="">
                            <span>Android Hybrid APP开发实战 H5+原生!</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-2.png" alt="">
                            <span>Kami2首页界面切换效果</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-3.png" alt="">
                            <span>Unity Profiler入门</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-4.png" alt="">
                            <span>Cocos2d-x引擎源码中的纹理优化</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="box4 F2">
            <div class="F3">
                <h3>编程入门</h3>
                <ul>
                    <li class="f"><a href="#">热门</a></li>
                    <li class="f"><a href="#">初级</a></li>
                    <li class="f"><a href="#">中级</a></li>
                    <li class="f"><a href="#">高级</a></li>
                </ul>
                <a href="#" class="all f1">查看全部</a>
            </div>
            <div class="clearfix"></div>
            <div class="F4">
                <div class="f1-1 F">
                    <img src="img/phpget2.png" alt="">
                </div>
                <div class="f1-2">
                    <div class="f2">
                        <img src="img/pic1.png" alt="">
                    </div>
                    <div class="f3">
                        <div class="f3-1 F">
                            <img src="img/f3-2.png" alt="">
                            <span>Kami2首页界面切换效果</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-1.png" alt="">
                            <span>Android Hybrid APP开发实战 H5+原生!</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-4.png" alt="">
                            <span>Cocos2d-x引擎源码中的纹理优化</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-3.png" alt="">
                            <span>Unity Profiler入门</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="box5 F2">
            <div class="F3">
                <h3>机械学习工程师</h3>
                <ul>
                    <li class="f"><a href="#">热门</a></li>
                    <li class="f"><a href="#">初级</a></li>
                    <li class="f"><a href="#">中级</a></li>
                    <li class="f"><a href="#">高级</a></li>
                </ul>
                <a href="#" class="all f1">查看全部</a>
            </div>
            <div class="clearfix"></div>
            <div class="F4">
                <div class="f1">
                    <div class="f2">
                        <div class="f3-1 F">
                            <img src="img/f3-1.png" alt="">
                            <span>Android Hybrid APP开发实战 H5+原生!</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-4.png" alt="">
                            <span>Cocos2d-x引擎源码中的纹理优化</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-3.png" alt="">
                            <span>Unity Profiler入门</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-5.png" alt="">
                            <span>微软人工智能-数据分析平台</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-2.png" alt="">
                            <span>Kami2首页界面切换效果</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="box5 F2">
            <div class="F3">
                <h3>前端开发工程师</h3>
                <ul>
                    <li class="f"><a href="#">热门</a></li>
                    <li class="f"><a href="#">初级</a></li>
                    <li class="f"><a href="#">中级</a></li>
                    <li class="f"><a href="#">高级</a></li>
                </ul>
                <a href="#" class="all f1">查看全部</a>
            </div>
            <div class="clearfix"></div>
            <div class="F4">
                <div class="f1">
                    <div class="f2">
                        <div class="f3-1 F">
                            <img src="img/f3-5.png" alt="">
                            <span>微软人工智能-数据分析平台</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-3.png" alt="">
                            <span>Unity Profiler入门</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-4.png" alt="">
                            <span>Cocos2d-x引擎源码中的纹理优化</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-2.png" alt="">
                            <span>Kami2首页界面切换效果</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                        <div class="f3-1 F">
                            <img src="img/f3-1.png" alt="">
                            <span>Android Hybrid APP开发实战 H5+原生!</span>
                            <span class="t"><strong>高级</strong><strong> · 1125人在学习</strong></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="foot">
        <div class="footer">
            <div class="footer-1">
                <img src="img/logo_03.png" alt="">
                <p>学成在线致力于普及中国最好的教育它与中国一流大学和机构合作提供在线课程。<br>©2017年XTCG I.保留所有权利。-沪ICP备15025210号</p>
                <a href="https://jiutian.site/">下载APP</a>
            </div>
            <div class="footer-2">
                <div class="list">
                    <ul>
                        <li>
                            <h3>关于学成网</h3>
                        </li>
                        <li><a href="">关于</a></li>
                        <li><a href="">管理团队</a></li>
                        <li><a href="">工作机会</a></li>
                        <li><a href="">客户服务</a></li>
                        <li><a href="">帮助</a></li>
                    </ul>
                </div>
                <div class="list">
                    <ul>
                        <li>
                            <h3>新手指南</h3>
                        </li>
                        <li><a href="">如何注册</a></li>
                        <li><a href="">如何选课</a></li>
                        <li><a href="">如何拿到毕业证</a></li>
                        <li><a href="">学分是什么</a></li>
                        <li><a href="">考试未通过怎么办</a></li>
                    </ul>
                </div>
                <div class="list">
                    <ul>
                        <li>
                            <h3>合作伙伴</h3>
                        </li>
                        <li><a href="">合作机构</a></li>
                        <li><a href="">合作导师</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</body>
 
</html>

CSS代码

* {
    padding: 0;
    margin: 0;
}
 
.logo {
    text-align: center;
    vertical-align: middle;
    margin-right: 25px;
}
 
body {
    width: 1800px;
    background-color: rgb(245, 244, 244);
}
 
.box1 {
    text-align: center;
}
 
.top {
    width: 100%;
    margin-top: 20px;
}
 
ul {
    list-style-type: none;
}
 
a {
    text-decoration: none;
}
 
.topul {
    display: inline-block;
    list-style-type: none;
}
 
.topul li {
    display: inline-block;
}
 
.t1 {
    margin-left: 15px;
    text-decoration: none;
    padding: 6px;
    color: black;
    font-size: 20px;
    vertical-align: middle;
}
 
.t1:hover {
 
    border-bottom: 2px solid rgb(0, 0, 255);
}
 
.find {
    display: inline-block;
    margin-left: 50px;
    border: 0;
    border: 2px solid rgb(25, 161, 230);
    width: 325px;
    height: 30px;
    background: url(img/btn.png) no-repeat;
    background-position: right;
    vertical-align: middle;
}
 
.user {
    vertical-align: middle;
    margin-left: 28px;
    color: rgb(168, 168, 168)
}
 
.name {
    margin: 3px;
    color: rgb(168, 168, 168);
}
 
.banner {
    margin-top: 10px;
    background-color: rgb(28, 3, 109);
    height: 420px;
}
 
.banner .php {
    background-color: rgb(28, 3, 109);
    background: url(img/banner2_20190819_210028.png) no-repeat center center;
    height: 420px;
    width: 1200px;
    margin: 0 auto;
}
 
.avtivity {
    float: left;
    width: 160px;
    height: 421px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.3);
}
 
.avtivity ul li a {
    font-size: 14px;
    color: rgb(255, 255, 255);
}
 
.avtivity ul li {
    padding-left: 20px;
    padding-top: 13.5px;
    padding-bottom: 13.5px;
}
 
.avtivity ul li:first-child {
    padding-top: 20px;
}
 
.avtivity ul li a .jiantou {
    float: right;
    margin-right: 21px;
}
 
.avtivity ul li a:hover {
    color: rgb(0, 166, 255);
}
 
.kecheng {
    float: right;
    width: 230px;
    height: 300px;
    background-color: rgb(255, 255, 255);
    margin: 50px 0;
}
 
.kecheng h2 {
    height: 48px;
    background-color: rgb(154, 206, 234);
    line-height: 48px;
    font-size: 18px;
    text-align: center;
}
 
.kecheng .study {
    padding: 20px;
}
 
.kecheng .study ul li {
    margin-bottom: 4px;
    padding-top: 4px;
    height: 51px;
    border-bottom: 1px solid rgb(235, 235, 235);
}
 
.kecheng .study ul li:first-child {
    padding: 0;
}
 
.kecheng .study ul li h4 {
    font-size: 16px;
    color: rgb(78, 78, 78);
}
 
.kecheng .study ul li p {
    text-align: left;
    margin-left: 12px;
    font-size: 12px;
    color: rgb(166, 166, 166);
}
 
.kecheng a {
    margin-top: 5px;
    display: block;
    width: 188px;
    height: 40px;
    color: rgb(87, 182, 255);
    line-height: 40px;
    text-align: center;
    border: 2px solid rgb(0, 166, 255);
}
 
.jingpin {
    margin-top: 10px;
    width: 1200px;
    height: 50px;
    text-align: left;
    box-shadow: 0 2px 3px 3px rgb(222, 220, 220);
}
 
.jingpin a {
    color: black;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 50px;
    border-left: 1px solid #999;
}
.jingpin a:hover{
    color:  rgb(33, 154, 224);
}
.jingpin a:first-child {
    border: 0;
    color: rgb(33, 154, 224);
    font-weight: bold;
}
 
.jingpin .change {
    float: right;
    font-weight: bold;
    border: 0;
    font-size: 12px;
    color: rgb(33, 154, 224);
}
 
.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 
.box2 {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    margin-top: 40px;
 
}
 
.box2 h3 {
    float: left;
    color: rgb(112, 112, 112);
}
 
.all {
    margin-top: 5px;
    float: right;
    color: #999;
    font-size: 13px;
    margin-right: 15px;
}
 
.all:hover {
    color: rgb(0, 164, 255);
}
 
.F1 .f {
    margin-top: 10px;
    display: inline-block;
    width: 225px;
    height: 280px;
    margin-left: 7.374px;
    margin-right: 7.374px;
    box-shadow: 0 2px 3px 3px rgb(222, 220, 220);
}
.f {
    position: relative;
}
.f .new{
    position: absolute;
    right: -3px;
    top: 8px;
}
.F1 .f:first-child {
    margin-left: 0;
}
 
.F1 .f:last-child {
    margin-right: 0;
}
 
.F1 .f span {
    display: block;
    width: 200px;
    margin: 0 auto;
    height: 44px;
    margin-top: 20px;
    font-size: 16px;
}
 
.box2 strong:first-child {
    font-size: 16px;
    color: rgb(246, 163, 18);
}
 
.box2 strong:last-child {
    font-size: 16px;
    color: #999;
}
 
.F2 {
    margin-top: 20px;
}
 
.box3 {
    width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}
 
.box3 .F3 h3 {
    float: left;
    color: rgb(112, 112, 112);
}
 
.box3 .F3 ul li {
    margin-top: 2px;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
}
 
.box3 .F3 ul li:first-child {
    margin-left: 360px;
}
 
.box3 .F3 ul li a {
    color: rgb(118, 117, 117);
    font-size: 18px;
}
 
.box3 .F3 ul li a:hover {
    color: rgb(0, 164, 255);
}
 
.F {
    box-shadow: 0 2px 3px 3px rgb(222, 220, 220);
}
 
.box3 .F4 {
    margin-top: 20px;
}
 
.box3 .F4 .f1-1 {
    width: 225px;
    height: 390px;
    float: left;
}
 
.box3 .F4 .f1-2 {
    float: right;
    width: 955px;
    height: 390px;
}
 
.box3 .F4 .f1-2 .f2 {
    width: 955px;
    height: 100px;
}
 
.box3 .F4 .f1-2 .f3 {
    margin-top: 30px;
    width: 955px;
    height: 260px;
}
 
.box3 .F4 .f1-2 .f3-1 {
    float: left;
    width: 223.75px;
    height: 260px;
    margin-left: 12px;
    margin-right: 12px;
}
 
.box3 .F4 .f1-2 .f3-1:first-child {
    margin: 0;
}
 
.box3 .F4 .f1-2 .f3-1:last-child {
    margin: 0;
}
 
.box3 .F4 span {
    display: block;
    width: 200px;
    height: 56px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: left;
    font-size: 16px;
}
 
.box3 .F4 .t {
    display: block;
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: left;
    font-size: 10px;
}
 
.box3 .F4 strong:first-child {
    font-size: 13px;
    color: rgb(246, 163, 18);
}
 
.box3 .F4 strong:last-child {
    font-size: 13px;
    color: #999;
}
 
.box4 {
    width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}
 
.box4 .F3 h3 {
    float: left;
    color: rgb(112, 112, 112);
}
 
.box4 .F3 ul li {
    margin-top: 2px;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
}
 
.box4 .F3 ul li:first-child {
    margin-left: 360px;
}
 
.box4 .F3 ul li a {
    color: rgb(118, 117, 117);
    font-size: 18px;
}
 
.box4 .F3 ul li a:hover {
    color: rgb(0, 164, 255);
}
 
 
.box4 .F4 {
    margin-top: 20px;
}
 
.box4 .F4 .f1-1 {
    width: 225px;
    height: 390px;
    float: left;
}
 
.box4 .F4 .f1-2 {
    float: right;
    width: 955px;
    height: 390px;
}
 
.box4 .F4 .f1-2 .f2 {
    width: 955px;
    height: 100px;
}
 
.box4 .F4 .f1-2 .f3 {
    margin-top: 30px;
    width: 955px;
    height: 260px;
}
 
.box4 .F4 .f1-2 .f3-1 {
    float: left;
    width: 223.75px;
    height: 260px;
    margin-left: 12px;
    margin-right: 12px;
}
 
.box4 .F4 .f1-2 .f3-1:first-child {
    margin-left: 0px;
}
 
.box4 .F4 .f1-2 .f3-1:last-child {
    margin: 0;
}
 
.box4 .F4 span {
    display: block;
    width: 200px;
    height: 56px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: left;
    font-size: 16px;
}
 
.box4 .F4 .t {
    display: block;
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: left;
    font-size: 10px;
}
 
.box4 .F4 strong:first-child {
    font-size: 13px;
    color: rgb(246, 163, 18);
}
 
.box4 .F4 strong:last-child {
    font-size: 13px;
    color: #999;
}
 
.box5 {
    width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
}
 
.box5 .F3 h3 {
    float: left;
    color: rgb(112, 112, 112);
}
 
.box5 .F3 ul li {
    margin-top: 2px;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
}
 
.box5 .F3 ul li:first-child {
    margin-left: 360px;
}
 
.box5 .F3 ul li a {
    color: rgb(118, 117, 117);
    font-size: 18px;
}
 
.box5 .F3 ul li a:hover {
    color: rgb(0, 164, 255);
}
 
.box5 .F4 .f1 {
    float: right;
    width: 1200px;
}
 
.box5 .F4 .f1 .f2 {
    margin-top: 30px;
    width: 1200px;
    height: 260px;
}
 
.box5 .F4 .f2 .f3-1 {
    float: left;
    width: 223.75px;
    height: 260px;
    margin-left: 11.6px;
    margin-right: 11.6px;
}
 
.box5 .F4 .f1 .f3-1:first-child {
    margin-left: 0px;
}
 
.box5 .F4 .f1 .f3-1:last-child {
    margin: 0;
}
 
.box5 .F4 span {
    display: block;
    width: 200px;
    height: 56px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: left;
    font-size: 16px;
}
 
.box5 .F4 .t {
    display: block;
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: left;
    font-size: 10px;
}
 
.box5 .F4 strong:first-child {
    font-size: 13px;
    color: rgb(246, 163, 18);
}
 
.box5 .F4 strong:last-child {
    font-size: 13px;
    color: #999;
}
 
.foot {
    background: white;
    width: 1800px;
    height: 300px;
    margin-top: 40px;
}
 
.foot .footer {
    width: 1200px;
    height: 300px;
    margin: 0 auto;
}
 
.foot .footer .footer-1 {
    width: 450px;
    height: 300px;
    margin: 0 auto;
    float: left;
    padding: 20px;
}
 
.foot .footer .footer-1 p {
    font-size: 12px;
    color: #868686;
    margin-top: 20px;
}
 
.foot .footer .footer-1 a {
    margin-top: 20px;
    display: block;
    width: 100px;
    height: 35px;
    color: rgb(87, 182, 255);
    line-height: 35px;
    text-align: center;
    border: 2px solid rgb(0, 166, 255);
}
 
.foot .footer .footer-2 {
    width: 550px;
    height: 300px;
    margin: 0 auto;
    float: right;
}
 
.foot .footer .footer-2 .list {
    width: 180px;
    float: left;
    padding: 20px;
}
 
.foot .footer .footer-2 .list:last-child {
    padding: 0;
    width: 80px;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
 
}
 
.foot .footer .footer-2 ul li a {
    color: rgb(62, 62, 62);
}
 
.foot .footer .footer-2 ul li:nth-child(2) {
    margin-top: 10px;
}

文件压缩包

点我下载哦!!!

感谢各位的阅读,更多文章或代码分享请前往九天小窝。

标签: html css ui

本文转载自: https://blog.csdn.net/as1278/article/details/142638682
版权归原作者 小小九天 所有, 如有侵权,请联系我们删除。

“HTML+CSS实现学成在线ui”的评论:

还没有评论