Home / CSE / CSS - CS :: Discussion

Discussion :: CSS - CS

  1. Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?

  2. A.

     border

    B.

     border-top

    C.

     border-top-corner

    D.

     border-top-style

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The border-top shorthand property sets all the top border properties in one declaration.


Be The First To Comment