Multiple choice css

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 = 1pixel?

  1. border-width:10px 20px 5px 1px

  2. border-width:10px 1px 5px 20px

  3. border-width:10px 5px 20px 1px

  4. border-width:5px 20px 10px 1px

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

border-width shorthand follows clockwise order: top, right, bottom, left. So 10px (top) 1px (right) 5px (bottom) 20px (left) is correct. Option A reverses bottom and left, C reverses right and left, and D starts with bottom.