Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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>Advertisements