- 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
Set top-left corner border with CSS
Use the border-top-left-radius property to set the border of the top left corner. You can try to run the following code to implement border-left-radius property:
Example
<html> <head> <style> #rcorner { border-radius: 25px; border-top-left-radius: 45px; background: #FADBD8; padding: 20px; width: 300px; height: 150px; } </style> </head> <body> <p id = "rcorner">Rounded top-left corner!</p> </body> </html>
- Related Articles
- Set top-right corner border with CSS
- Set bottom-left corner border with CSS
- Set bottom-right corner border with CSS
- How to set the shape of the border of the top-left corner with JavaScript?
- CSS border-top-left-radius property
- Animate CSS border-top-left-radius property
- How to set the shape of the border of the top-right corner with JavaScript?
- Animate border-left property with CSS
- Set border width with CSS
- Set Inset border with CSS
- Set Outset border with CSS
- Set the width of the left border using CSS
- Change the style of top border with CSS
- Change the color of top border with CSS
- Set top tooltip with CSS

Advertisements