<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>css3实现div圆角 - css3教程 - 计划 - 博客园</title>
<meta name="keywords" content="www.jb51.net"/>
<style type="text/css"> #yuanjiao{
font-family: arial;
border: 2px solid #379082;
border-radius: 20px;
padding: 30px 30px;
width: 330px;
}</style>
</head>
<body>
<div id="yuanjiao">
本实例是css3实现div圆角。实现圆角的css3代码句是: "border-radius: 20px;" 。需使用支持css3的浏览器运行,例如新版的chrome、火狐,或者ie9。ie6、7、8不支持。
移动技术网css3教程
</div>
</body>
</html>
效果图(chrome):
实际效果(请使用支持css3的浏览器):
本实例是css3实现div圆角。实现圆角的css3代码句是: "border-radius: 20px;" 。需使用支持css3的浏览器运行,例如新版的chrome、火狐,或者ie9。ie6、7、8不支持。
移动技术网css3教程
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
-
-
-
-
-
-
-
-
CSS中的四种定位区别详解
我们都知道,前端开发里面的css中常用的定位方式有普通定位,相对定位,绝对定位、固定定位定位这四种。但是很多零基础的前端小白都不知道这4种定位方式都有什么作用和...
[阅读全文]
网友评论