and Answers
Some web pages use a ___ ___, which uses a fixed-width container to envelop the web
page content. - answer fixed layout
A web page that uses a ___ ___ allows the page contents to fill the browser, sometimes
by using percentages for widths. - answer fluid layout
A blueprint for a web page that shows how future content will be arranged is called a
___. - answer Wireframe
True or false? A fluid layout will not widen to fit the browser width. - answer False
True or false? The max-width property should never be used in a fluid layout. - answer
False
Which CSS layout mode provides an efficient way to lay out elements in a container so
the elements behave predictably when the container is resized or viewed on different
screen sizes? - answer flexible box or flexbox
What is a flex container? - answer An element that has the CSS property display set
to flex to create a block-level container or inline-flex to create an inline container.
True or false? A flex item is a parent element of a flex container that is positioned and
sized according to various CSS flexbox properties. - answer False
What CSS property defines the direction of flex items within the container using values?
- answer flex-direction
Which CSS property justifies the flex items within the container using values: flex-start
(default), flex-end, center, space-between, or space-around? - answer justify-content
This CSS property determines if or how flex items wrap onto multiple rows when the
container is not wide enough to hold all items, using values: nowrap (default), wrap, or
wrap-reverse. - answer flex-wrap
Which CSS shorthand property can be used to specify flex-grow, flex-shrink, and flex-
basis together. - answer flex
Which CSS layout mode divides a web page into a rectangular grid in which to position
page elements? - answer grid layout