The CSS (www.bkjia.com) Tutorial CSS creates a DIV border with three-dimensional rounded corners. It does not use any modified image. It feels cool. If you are not satisfied with the color, you can change it by yourself, however, pay attention to the color difference, or else the effect is not ideal. In fact, webpage loading is very fast without images, but CSs definition is a little troublesome.
<! 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> rounded border </title> <style type =" text/css "> # sash_left {width: pixel; float: left ;} # sash_left ul {text-align: left; vertical-align: middle; padding-left: 75px ;}# sash_left ul li {line-height: 16px; margin: 2px 0 ;}. b1 ,. b2 ,. b3 ,. b4 {font-size: 1px; overflow: hidden; display: block ;}. b1 {height: 1px; background: # AAA; margin: 0 5px ;}. b2 {height: 1px; background: # E0E0E0; border-right: 2px solid # AAA; border-left: 2px solid # AAA; margin: 0 3px ;}. b3 {height: 1px; background: # E3E3E3; border-right: 1px solid # AAA; border-left: 1px solid # AAA; margin: 0 2px ;}. b4 {height: 2px; background: # E6E6E6; border-right: 1px solid # AAA; border-left: 1px solid # AAA; margin: 0 1px ;}. contentb {height: 186px; background: # E9E9E9; border-right: 1px solid # AAA; border-left: 1px solid # AAA ;} </style>
Tip: the code can be modified before running!