shorthand property | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

shorthand property

when using shorthand property how to add. border(trbl) values or others options

6th Oct 2016, 11:53 AM
aamir niazi
aamir niazi - avatar
1 Answer
0
You can use this shorthand method: selector { attribute : value:"weight of border" , value:" type of border" ,value:" color of the border"; } Ex. body { /*Add black solid border with weight of 1px */ border : 1px solid black; }
12th Oct 2016, 9:20 AM
Mohammed Omran
Mohammed Omran - avatar