zoukankan      html  css  js  c++  java
  • html学习笔记一

    <!-- 购物车图标编程 -->
     <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>jd-car</title>
        <style type="text/css">
        #main{
             150px;
            border: 1px #ddd solid;
            background: #f1f1f1;
            font-size: 12px;
            color:gray;
            text-indent: 3.8em;
            line-height: 40px;
            
            /*sprite img*/
            background-image: url('http://misc.360buyimg.com/jdf/1.0.0/unit/globalImages/1.0.0/jd2015img.png');
            background-repeat: no-repeat;
            background-position: 20px -46px;
        }
        #num{
            color:white;
            font-weight: bold;
            background:red;
            text-indent: 0px;
            text-align: center;
            /*行内块*/
            display: inline-block;
             16px;
            line-height: 16px;
            border-radius: 8px 8px 8px 0px;

            position: relative;
            top: -17px;
        }

        </style>
    </head>
    <body>
        <div id="main">
            <span>我的购物车</span>
            <span id="num">0</span>
            <span id="spinner">></span>
        </div>
    </body>
    <ml> 

      

  • 相关阅读:
    Codeforces Round #596 (Div. 2, based on Technocup 2020 Elimination Round 2)
    Codeforces Round #592 (Div. 2)
    日常杂谈
    vc_redist x64 或者x86下载地址
    windows terminal编译实录
    刷机,twrp,安装xposed
    博客迁移公告
    tcpdump实用笔记
    分享一篇企鹅的暑期实习生技术面经验
    visudo使用笔记
  • 原文地址:https://www.cnblogs.com/gdouKang/p/6171339.html
Copyright © 2011-2022 走看看