Use JS to generate any rounded corners, the next step is to join the right angle guide angle, round the guide, outside the rounded corner guide, there are border processing, shadow generation, and soft treatment are the focus and difficulties.
<div id= "Modul" > <div id= "Contentbox" > <div id= "Content" > Middle-and-far-away scholar-bureaucrats and literati-bureaucrats have a variety of tricks to test. I don't want to believe in the master of Works. Fu Harsh seize the work of the literati and the pattern of the molding machine to win the heavy chess and the pattern of the molding machine to win the game of the work of the basic people are still missing the scholar-bureaucrat to take all the tricks of the people to test some I do not want to believe that the workers chef the scholar-bureaucrat pattern is full of molding machine to win the game of chess and the pattern of the molding machine seized chess </div></div> </div> <script type= "Text/javascript" > Makeroalj ("Modul", "Contentbox", 60,400) ; function Makeroalj (modulid,contentid,r,width) {this.setr=r; var Yj=document.getelementbyid (modulid); Yj.style.position= "relative"; yj.style.width=width?width+ "px": "100%"; Yj.style.overflow= "hidden"; var Contentbox=document.getelementbyid (ContentID); contentbox.style.position= "Absolute"; for (y=this.setr;y>=1;y--) {var l=document.createelement ("div"); SetStyle (L,y); Yj.appendchild (l); var box=document.createelement ("div"); Box.style.backgroundcolor= "#FFCC00"; Yj.appendchild (box); for (y=1;y<=this.setr;y++) {var l=document.createelement ("div"); SetStyle (l,y); Yj.appendchild (l); } box.style.height= (contentbox.clientheight-this.setr*2) + "px"; Set style function SetStyle (obj,y) {l.innerhtml= " "; L.style.height= "1px"; L.style.overflow= "hidden"; L.style.backgroundcolor= "#FFCC00"; l.style.margin= "0" + (This.setr-math.floor (math.sqrt (this.setr*this.setr-y*y)) + "px"; }} </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]