Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Set the width of the left border using CSS
To set the width of the left border, use the border-left-width property in CSS. You can try to run the following code to implement the border-left-width property −
Example
<!DOCTYPE html>
<html>
<head>
<style>
p {
border-style: dashed;
border-left-width: 10px;
}
</style>
</head>
<body>
<p>This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text.</p>
</body>
</html>
Output

Advertisements
