想要使用div+css画圆很简单,看看下面代码吧:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Jxchen</title> <style type="text/css">
.box{ border:1px solid #f60; width:100px; height:100px; margin:0 auto; -webkit-border-radius:50px; -moz-border-radius:50px; -o-border-radius:50px; border-radius:50px; }
</style> </head> <body> <div class="box"> </div> </body> </html>
至于大小颜色什么的,大家就看着自己改吧。
按字母顺序浏览:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
→我们致力于为广大网民解决所遇到的各种电脑技术问题 如果您认为本词条还有待完善,请 编辑词条
上一篇如何防止充电泄露隐私?
下一篇CSS实现三角的方法