HTML期末作业-图书商城书店

HTML期末作业-图书商城书店,第1张

HTML期末作业-简单的图书商城书店,HTML+css+JavaScript,4个页面! 全部页面截图

 

 

 部分网页源码





    
    
    
    
    
    
    
    
    
    
    
    图书商城



    
    


    
    
        
            
                
                    
                    登陆
                
                
                    
                    
                    
                        
                            还没有账号,去注册
                        
                    
                
            
            
        
        
    
    


    
    
        
            
                
                    
                    用户注册
                
                
                    
                    
                    
                        
                            已有账号去登陆
                        
                    
                
            
            
        
        
    
    







    
    
        
            
                优质图书商城
            
            
                
                    
                    
                     
                
                
            
        
        
    

    
        
        
            
                
                    
                
                
                    
                
                
                    
                
                
                    
                
                
                    
                
            
            
            
                
                
                
                
                
            
            
            
                <
                >
            
        
        好书推荐
        
            文学
            小说
            成功励志
            亲子家教
        
        
            
                

                
            
            
                

                
            
            
                

                
            
            
                

                
            
            
                
                
            
        
        
            更多>>
        
    
    
        

©2018计算机应用技术(对口)2班张帅浩

 

    .error {
        color: red;
    }
    
    body {
        background-color: #f7f7f6;
        overflow: -Scroll;
        overflow-x: hidden
    }
    
    .top-ul {
        background-color: brown;
        height: 50px;
        color: white;
        margin-bottom: 0px;
        margin: 0;
    }
    
    .top-ul ul {
        background-color: rgb(252, 251, 250);
        border: 1px solid #C0C0C0;
        position: relative;
    }
    
    .top-ul>li {
        float: left;
        top: 15px;
    }
    
    .top-ul>li+li {
        text-align: center;
    }
    
    .top-ul>li>ul {
        margin-top: 15px;
        height: 130px;
        width: 150px;
        padding: 15px;
        position: absolute;
        z-index: 10;
    }
    
    .top-ul>li>ul>li {
        margin-bottom: 5px;
        text-align: center;
    }   
    ul li {
        list-style: none;
    }
    
    .top-ul a:link {
        color: white;
    }
    
    .top-ul a:visited {
        color: white;
    }
    
    .top-ul a:hover {
        color: white;
    }
    
    .top-ul a:active {
        color: white;
    }
    
    .badge {
        background-color: red;
    }
    
    .ssq {
        background-color: #f2f1ea;
        margin: 0;
        height: 100px;
    }
    
    .ssq>div {
        position: relative;
        top: 20px;
    }
    
    .ssq>div .input-group {
        position: relative;
        border: 1px solid red;
    }
    
    .ssq>div .input-group>input {
        border-radius: 0;
    }
    
    .ssq>div .input-group>input:focus {
        border: 2px solid red;
        border-radius: 0;
    }
      
    .banner {
        overflow: hidden;
        position: relative;
        padding-left: 10px;
        height: 400px;
    }
    
    .lunbo {
        position: absolute;
        height: 400px;
        padding: 0;
        top: 0;
        left: 0;
        border-left: 100px;
        border-right: 100px;
    }
    
    .lunbo>li img {
        height: 400px;
    }
    
    .lunbo>li {
        float: left;
    }

    
    .dot {
        position: absolute;
        bottom: 10px;
        width: 100%;
        text-align: center;
        font-size: 0;
    }
    
    .dot li {
        display: block;
        display: inline-block;
        margin: 0 5px;
        width: 15px;
        height: 15px;
        border-radius: 100%;
        background: rgba(145, 144, 144, .5);
        cursor: pointer;
    }
    
    .dot .on {
        background-color: #fff;
    }
    /* å·¦å³ç¿»é¡µç®­å¤´æ ·å¼ */
    
    .arrow {
        display: none;
    }
    
    .arrow span {
        display: block;
        width: 50px;
        height: 100px;
        background: rgba(0, 0, 0, .6);
        color: #fff;
        text-align: center;
        font-size: 40px;
        line-height: 100px;
        cursor: pointer;
    }
    
    .arrow .prev {
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -50px;
    }
    
    .arrow .next {
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -50px;
    }
    
    .nav {
        font-size: 18px;
    }
    /*底部广告*/
    
    .digg {
        background-color: rgba(0, 0, 0, .6);
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }
    
    .digg>span {
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 32px;
        color: white;
    }
    
    .test {
        white-space: nowrap;
        overflow: hidden;
    }
    /* .thumbnail{
    width: 180px;
    height: 180px;
}
.thumbnail>img{
    width: 180px;
    height: 170px;
} */
    /*
以下是info2.html中的样å¼
*/
    
    .media-object {
        width: 350px;
    }
    
    .media {
        margin-top: 5px;
        padding-top: 15px;
    }
    
    .media-heading>span {
        color: red;
    }
    
    .media-heading {
        font-weight: bold;
    }
    
    .info {
        word-wrap: break-word;
        font-size: 20px;
        font-weight: 100;
    }
    
    #author>span,
    #press>span,
    #p_time>span {
        color: #4169E1;
    }
    
    #jg {
        color: red;
        font-size: 24px;
        margin-top: 30px;
    }
    
    #yj {
        font-size: 16px;
        color: darkgrey;
        text-decoration: line-through;
    }
    
    .gw-btn {
        background-color: red;
        color: white;
    }
    
    .gw-btn:hover {
        background-color: rgba(255, 0, 0, 0.8);
        color: white;
    }
    
    #daojishi {
        background-image: url('../images/countdown.jpg');
        background-repeat: no-repeat;
        margin-top: 10px;
        margin-bottom: 10px;
        height: 70px;
        text-align: center;
        color: white;
    }
    
    #daojishi>div {
        display: inline-block;
    }
    
    #daojishi>.col {
        background-color: white;
        color: red;
        width: 18px;
        height: 18px;
        margin: 10px 0px 10px 0px;
    }
    
    #bottom {
        text-align: center;
        color: #000;
        margin-top: 45px;
    }
    /* //å›¾ç‰‡æ”¾å¤§æ˜¾ç¤ºæ¡†æ ·å¼ */
    
    #div-media {
        position: relative;
    }
    
    #div-tog {
        position: absolute;
        height: 500px;
        width: 450px;
        top: -10px;
        left: 350px;
        background-color: white;
        display: none;
        z-index: 10;
        overflow: hidden;
        background: rgba(254, 238, 167, 0);
    }
    
    #div-tog>img {
        position: absolute;
    }
    /* 缩略图放大镜框 */
    
    #magnifier {
        width: 160px;
        height: 160px;
        background: rgba(254, 238, 167, .4);
        /* åŠé€æ˜Žæ•ˆæžœ */
        position: absolute;
        left: 0;
        top: 0;
        display: none;
    }
    
    .more_media_img {
        width: 210px;
    }
    
    #dimg {
        width: 800px;
        height: 800px;
    }

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1295910.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-10
下一篇 2022-06-10

发表评论

登录后才能评论

评论列表(0条)

保存