Identify A Contextual Selector That Matches Any Element

Question: _____ are used to associate a style sheet or style rule with a specific device or list of device features.

a)Flexible layouts

b)Responsive images

c)Viewports

d)Media queries

Answer: d)Media queries

Question:

Answer: c)section h4 {font-size: .75em;}

Question:

Answer: d)section article {padding: .25em 10% };

Question: How is background color best defined in a Cascaded Style Sheets (CSS) file?

a)@bgcolor โ€œcolorโ€;

b)@background=โ€colorโ€;

c)background: color;

d)background-color: color;

Answer: d)background-color: color;

Question: Identify a contextual selector that matches any element.

a)%

b)*

c)elem

d)::all

Answer: b)*

Question: Identify an attribute selector used to select an element based on its class value.

a)class: .intro.elem

b)elem.class

c)elem#class

d)class *elem

Answer: b)elem.class

Question: Identify the default type for the background-repeat property.

a)no-repeat

b)repeat

c)repeat-x

d)repeat-y

Answer: b)repeat

Question: In a fixed layout, the size of the page and the size of the page elements are fixed using _____ as the unit of measure.

a)ems

b)fractions

c)percentage

d)pixels

Answer: d)pixels

Question: In the context of a flexible box, perpendicular to the main axis is the _____, which is used to define the height or width of each item.

a)flow axis

b)logic axis

c)secondary axis

d)cross axis

Answer: d)cross axis

Question: Items within a flexbox are laid out along a _____, which can point in either the horizontal or vertical direction.

a)primary axis

b)main axis

c)sub axis

d)cross axis

Answer: b)main axis

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.