+ 1

Difference Border and Border-width

What is the difference between border and border-width? In the last lesson, border was used for the border size and in this lesson, border-width is being used. I am confused.

17th Feb 2018, 7:37 PM
Wasiq Anwar
Wasiq Anwar - avatar
3 Respuestas
+ 1
in border you can set width and colour and style
18th Feb 2018, 5:52 PM
Mahya Eftekhari
Mahya Eftekhari - avatar
+ 4
border: 2px solid black; - full border-width: 2px; - only width
17th Feb 2018, 7:39 PM
Tema
Tema - avatar
+ 1
Thanks
17th Feb 2018, 8:07 PM
Wasiq Anwar
Wasiq Anwar - avatar