Prev Demo
CSS3
>
Border-Radius Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> p { border-radius:30px; border-style: solid; border-width:2px; background-color:cornsilk; } div { border-style: solid; border-width:2px; background-color:lightblue; } </style> <p>This element having border radius.</p> <div>This element does not have border radius.</div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output