Dzwebs.Net

撰写电脑技术杂文十余年

div画实线圆或虚线圆

Admin | 2016-7-21 8:20:58 | 被阅次数 | 5413

温馨提示!

如果未能解决您的问题,请点击搜索;登陆可复制文章,点击登陆

  画的要领是:高度和宽度相等,并且把border的宽度设为高度和宽度的一半。

  一、画实线圆

  #circle {
  width: 200px;
  height: 200px;
  background-color: #a72525;
  -webkit-border-radius: 100px;
  }


  二、画虚线圆

  #circle {
  width: 200px;
  height: 200px;
  background-color: #efefef; /* Can be set to transparent */
  border: 3px #a72525 solid;
  -webkit-border-radius: 100px;
  }



该杂文来自: 网页制作杂文

上一篇:json示例

下一篇:ajax dataType

网站备案号:

网站备案号:滇ICP备11001339号-7

版权属性:

Copyright 2007-2021-forever Inc. all Rights Reserved.

联系方式:

Email:dzwebs@126.com QQ:83539231 访问统计