PdfPrep.com

Which CSS segment should you use?

You are developing a web page.

You create a grid layout by using the following CSS segment.

You have the following requirements:

• You must place content in the first column of the second row.

• The content must span two columns.

You need to ensure that the style of the grid meets the requirements.

Which CSS segment should you use?

A . Option A
B . Option B
C . Option C
D . Option D

Answer: A

Explanation:

-ms-grid-column-span

Gets or sets a value that specifies the number of columns of the grid that the object spans.

This property is read-only.

Property values

The number of columns.

Integer value that specifies the number of columns to span.

Reference: -ms-grid-column-span property

Exit mobile version