border setting for the top right left
css, html
Solution
No. This is not possible with this `border:5px solid grey !important;` shorthand methodology.
You need to declare them in the way as mentioned below to achieve what you are looking for.
WORKING DEMO
The HTML:
<div>ABCD</div>
The CSS:
div{border-width: 5px 5px 0px 5px; border-style: solid; border-color: grey;}
FURTHER REFERENCE
Hope this helps.
Problem
I have the following CSS code:- ``` border:5px solid grey !important; ``` which will apply the style setting to all the border four dimensions upper,lower,right & left. but how i can define the boarder to only applied to the upper,right & left . without having to define separate style for each ? Thanks