165k views
5 votes
Write out a shorthand version of the border property which will apply border that is 5 px wide, colored in lightgreen, and solid.

User Genesisxyz
by
6.7k points

1 Answer

3 votes

Answer:

border: 5px solid lightgreen;

Step-by-step explanation:

The shorthand version of the border property in CSS goes as follows:

border: <line-width> <line-style> <color>;

With <line-width> represents the thicknes of the border line (expressed in keyword values or lenght values), <line-style> represents the style of the border, and <color> represents the color of the border (in color names or values).

User Sirdank
by
6.5k points