Advertisements
Advertisements
Question
How do you display a border like this?
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixelCode Writing
Short Answer
Advertisements
Solution
We utilise the border-width property to show the specified border, writing the values in the following order: top, right, bottom, and left. As a result, the regulation will be expressed as follows:
selector { border-width : 10px 1px 5px 20px ; }shaalaa.com
Is there an error in this question or solution?
