• html 复制 有时不显示样式


    是因为有中文的空格

    1. /**HTML**/  
    2.         div.ani   
    3.   
    4.         /**css**/  
    5.         .ani{   
    6.           480px;   
    7.           height:320px;   
    8.           margin:50px auto;   
    9.           overflow: hidden;   
    10.           box-shadow:0 0 5px rgba(0,0,0,1);   
    11.           background-size: cover;   
    12.           background-position: center;   
    13.           -webkit-animation-name: "loops";   
    14.           -webkit-animation-duration: 20s;   
    15.           -webkit-animation-iteration-count: infinite;   
    16.         }   
    17.         @-webkit-keyframes "loops" {   
    18.             0% {   
    19.                 background:url(http://d.hiphotos.baidu.com/image/w%3D400/sign=c01e6adca964034f0fcdc3069fc27980/e824b899a9014c08e5e38ca4087b02087af4f4d3.jpg) no-repeat;                
    20.             }   
    21.             25% {   
    22.                 background:url(http://b.hiphotos.baidu.com/image/w%3D400/sign=edee1572e9f81a4c2632edc9e72b6029/30adcbef76094b364d72bceba1cc7cd98c109dd0.jpg) no-repeat;   
    23.             }   
    24.             50% {   
    25.                 background:url(http://b.hiphotos.baidu.com/image/w%3D400/sign=937dace2552c11dfded1be2353266255/d8f9d72a6059252d258e7605369b033b5bb5b912.jpg) no-repeat;   
    26.             }   
    27.             75% {   
    28.                 background:url(http://g.hiphotos.baidu.com/image/w%3D400/sign=7d37500b8544ebf86d71653fe9f9d736/0df431adcbef76095d61f0972cdda3cc7cd99e4b.jpg) no-repeat;   
    29.             }   
    30.             100% {   
    31.                 background:url(http://c.hiphotos.baidu.com/image/w%3D400/sign=cfb239ceb0fb43161a1f7b7a10a54642/3b87e950352ac65ce2e73f76f9f2b21192138ad1.jpg) no-repeat;   
    32.             }   
    33.         }  

    复制的时候有中文空格,所以不显示

  • 相关阅读:
    FireDAC的数据库的FDConnect
    Readers and Writers JSON Framework(2)
    JSON Objects Framework(1)
    SQLServer 临时表的使用
    客户重复需要检查CRM客户
    采购订单下推付款申请单获取组织业务关系
    采购订单跨组织生成销售订单,没得选组织的问题
    销售合同缓存问题
    BOS中给基础资料赋值
    辅助属性值列表功能的缺点
  • 原文地址:https://www.cnblogs.com/FineDay/p/5641607.html
Copyright © 2020-2023  润新知