HTML CSS examples for CSS Property:border-radius
Create gradient border around div with corner radius
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div{<!-- w ww. jav a 2s . co m--> display:inline-block; } #m { box-shadow:0 0 60px 35px white; width:300px; height:200px; margin:36px; border-radius:20px; background-color:white; } #b { background-color:rgb(231, 105, 255); border-radius:30px; border:1px solid purple; } </style> </head> <body> <div id="b"> <div id="m"></div> </div> </body> </html>