- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS border-radius property
Use the border-radius property to set four border-radius property. You can try to run the following code to implement border-radius property −
Example
<html> <head> <style> #rcorner { border-radius: 25px; background: #8AC007; padding: 20px; width: 200px; height: 150px; } </style> </head> <body> <p id="rcorner">Rounded corners!</p> </body> </html>
- Related Articles
- CSS border-top-left-radius property
- CSS border-top-right-radius property
- CSS border-bottom-right-radius property
- CSS border-bottom-left-radius property
- Animate CSS border-top-left-radius property
- Perform Animation on CSS border-bottom-left-radius property
- Perform Animation on CSS border-bottom-right-radius property
- Perform Animation on CSS border-top-right-radius property
- Animate CSS border property
- CSS border-image property
- Animate CSS border-top property
- Animate CSS border-spacing property
- Animate CSS border-bottom property
- Set all border-radius properties with CSS
- Usage of border property with CSS

Advertisements