div怎么用css写角

1.用DIV+CSS写圆角代码怎么写HTML代码
<html> <head> <title>3D圆角</title> <style type=text/css> .raised{background:transparent;width:40%;} .raised h1,.raised p{margin:0 10px;} .raised h1{font-size:2em;color:#fff;} .raised p{padding-bottom:0.5em;} .raised .b1,.raised .b2,.raised .b3,.raised .b4,.raised .b1b,.raised .b2b,.raised .b3b,.raised .b4b{display:block;overflow:hidden;font-size:1px;} .raised .b1,.raised .b2,.raised .b3,.raised .b1b,.raised .b2b,.raised .b3b{height:1px;} .raised .b2{background:#ccc;border-left:1px solid #fff;border-right:1px solid #eee;} .raised .b3{background:#ccc;border-left:1px solid #fff;border-right:1px solid #ddd;} .raised .b4{background:#ccc;border-left:1px solid #fff;border-right:1px solid #aaa;} .raised .b4b{background:#ccc;border-left:1px solid #eee;border-right:1px solid #999;} .raised .b3b{background:#ccc;border-left:1px solid #ddd;border-right:1px solid #999;} .raised .b2b{background:#ccc;border-left:1px solid #aaa;border-right:1px solid #999;} .raised .b1{margin:0 5px;background:#fff;} .raised .b2, .raised .b2b{margin:0 3px;border-width:0 2px;} .raised .b3, .raised .b3b{margin:0 2px;} .raised .b4, .raised .b4b{height:2px; margin:0 1px;} .raised .b1b{margin:0 5px; background:#999;} .raised .boxcontent{display:block;background:#ccc;border-left:1px solid #fff;border-right:1px solid #999;} </STYLE> </head> <body> <div class="raised"> <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b> <div class="boxcontent"> <h1>3D圆角</h1> </div> <b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b> </div> </body> </html>
2.如何用div+css做圆角<meta ; charset=utf-8" />Div+CSS式圆角<style>.l1{background:#fff; width:4px; height:1px; float:left;OVERFLOW: hidden;}.r1{background:#fff; width:4px; height:1px; float:right;OVERFLOW: hidden;}.l2{background:#fff; width:2px; height:1px; float:left;OVERFLOW: hidden;}.r2{background:#fff; width:2px; height:1px; float:right;OVERFLOW: hidden;}.l3{background:#fff; width:1px; height:2px; float:left;OVERFLOW: hidden;}.r3{background:#fff; width:1px; height:2px; float:right;OVERFLOW: hidden;}.x{clear:both}#top .t{background:#99BCFC; width:230px; height:25px;}#top .c{background:#FFFFFF; border:1px #99BCFC solid; width:208px;height:250px; padding:0 10px;}#top .b{background:#99BCFC;width:230px; height:4px;}</style><body>Div+CSS式圆角 希望能帮到你 , 谢谢 。
3.css 代码 :div圆角矩形怎么写朋友 , 我给你来个实例吧 , 希望采纳答案 , 谢谢 。
CSS代码: div#nifty{margin:0;background:#9BD1FA}p {padding:10px}div.rtop {display:block;background:#fff}div.rtop div {display:block;height:1px;overflow:hidden;background:#9BD1FA}div.r1{margin:0 5px}div.r2{margin:0 3px}div.r3{margin:0 2px}div.rtop div.r4 {margin:0 1px;height:2px} HTML代码: div + css 圆角矩形。
4.用div布局输入框里面怎样添加1个用CSS写的圆角就是让1个框的4个角变成圆角最好答案html head titlecss圆角效果--网站逐日新/title meta ; charset=gb2312 style type=text/css div.RoundedCorner b.rtop, b.rbottom b.rtop b, b.rbottom b b.r1 b.r2 b.r3 b.rtop b.r4, b.rbottom b.r4 /style /head body div class=RoundedCorner b class=rtopb class=r1/bb class=r2/bb class=r3/bb class=r4/b/b br无图片实现圆角框brbr b class=rbottomb class=r4/bb class=r3/bb class=r2/bb class=r1/b/b /div /body 。
5.谁能解释下DIV+CSS是怎么实现圆角的<style>
div.bg{background:#ffc20e;width:50%}
b{display:block;}
/*将所有B标签转成块级元素*/
div b.topb b,div b.bottomb b{height:1px;overflow:hidden;background:#ffc20e;}
/*div标签内类名为topb/bottomb的那个b标签的css属性值--高为1px , 溢出部份隐藏 , 背景色同div.bg的背景色*/