【问题标题】:How to make custom shapes in Dreamweaver CS6 [duplicate]如何在 Dreamweaver CS6 中制作自定义形状 [重复]
【发布时间】:2015-05-01 23:18:18
【问题描述】:

我想在 Dreamweaver 中创建自定义形状,而不是插入 shape.png。我可以使用代码创建形状吗?请参阅所附图片。

【问题讨论】:

    标签: html css dreamweaver css-shapes


    【解决方案1】:

    您可以使用 CSS 来实现。你可以看很多SHAPES HERE...

    当你需要一个弯曲的边框(如 Shape.png 所示)时使用

    Border-radius:10px
    //Or other properties are there!
    

    希望你了解 Css 及其属性。

    我有简单曲线的简单程序...

    css文件:

    .box{
      width:500px; height:100px;  
      border:solid 5px #000;
      border-color:#000 transparent transparent transparent;
      border-radius: 50%/100px 100px 0 0;
    }
    

    HTML 文件:

    <div class="box"></div>
    

    输出:

    您可以使用 CSS 制作许多形状...

    【讨论】:

      猜你喜欢
      • 2017-01-18
      • 1970-01-01
      • 2020-12-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-05
      相关资源
      最近更新 更多