PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

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.
-ms-grid-column-span property


Leave a Reply