Prev Demo
CSS3
>
Border-Top-Right-Radius Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> p { border-top-right-radius: 10px; 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-top-right-radius.</p> <div>This element does not have border-top-right-radius.</div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output