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> 

      

  • 相关阅读:
    Django-4
    Django-3
    博客中涉及的源码下载
    源码阅读系列:EventBus
    使用DFA做文本编辑器的自动提示
    计算机网络-IP类型判断
    感兴趣的文章搜集
    The Engine Document of JustWeEngine
    [译文]选择使用正确的 Markdown Parser
    Android源码阅读-Filter过滤器
  • 原文地址:https://www.cnblogs.com/gdouKang/p/6171339.html
Copyright © 2011-2022 走看看