css3 圆角框
2016-05-13 15:49
387 查看
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#demo1{
width:800px;
height:230px;
border:#F00 1px solid;
}
#demo1:hover{
border-radius:25px;
-webkit-border-radius:25px;
}
#demo2{
height:70px;
width:220px;
border:#F00 1px solid;
background-color:#666;
float:left;
}
#demo3{
width:240px;
height:150px;
border:#F00 1px solid;
background-color:#0F0;
float: left;
}
</style>
</head>
<body>
<div id="demo1">
<div id="demo2">
</div>
<div id="demo3">
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#demo1{
width:800px;
height:230px;
border:#F00 1px solid;
}
#demo1:hover{
border-radius:25px;
-webkit-border-radius:25px;
}
#demo2{
height:70px;
width:220px;
border:#F00 1px solid;
background-color:#666;
float:left;
}
#demo3{
width:240px;
height:150px;
border:#F00 1px solid;
background-color:#0F0;
float: left;
}
</style>
</head>
<body>
<div id="demo1">
<div id="demo2">
</div>
<div id="demo3">
</div>
</div>
</body>
</html>
相关文章推荐
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- css3 圆角框
- TextView设置部分文字可点击及样式
- CSS 中单位px和em,rem的区别
- ck-reset css(2016/5/13)
- WPS之替换样式
- CSS学习之列表 - CSS: The Missing Manual
- 深入理解CSS height属性设置元素的高度
- 深入理解CSS中的长度单位
- 【转】【WPF】WPF样式(Style)—触发器
- CSS中的Position属性
- 从零学习前端开发之 — CSS3基础与加强(3)-小月博客