zoukankan      html  css  js  c++  java
  • 一些效果实现

    1.锯齿边框效果

    
    
    .guarantee{
        line-height: 1.9em;
        color: #444444;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-style: italic;
        background: #a7cece;
        padding: 25px;
        padding-left: 80px;
        margin: 30px;
        margin-right: 250px;
        background-image: url(images/background.gif);
        background-repeat: no-repeat;
        background-position: top left;
        border- 1px;
        border-style: dashed;
        border-color: white;
    }
    
    

    效果:

    原理:

    利用白色的虚线边框覆盖部分背景色,形成锯齿形。

     出自《Head First HTML与CSS》P389

  • 相关阅读:
    8月4日
    8月3日 hive配置
    8月2日
    8月1日
    7月31日
    7月30日
    7月29日
    7月28日
    第六周总结
    重大技术需求进度报告一
  • 原文地址:https://www.cnblogs.com/wuduojia/p/7811513.html
Copyright © 2011-2022 走看看