HTML CSS examples for CSS Widget:Div Border
Create round corner div via border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div{<!--from ww w .ja va 2s . c o m--> width:200px; height:200px; background:red; color:#fff; -moz-border-radius:10px; -webkit-border-radius:10px; -khtml-border-radius:10px; border-radius:10px; border:2px solid yellow; } </style> </head> <body> <div> fdsf </div> </body> </html>