Section 1

Preview this deck

display: block

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (26)

Section 1

(26 cards)

display: block

Front

elements that are not displayed in the same line as the content around them. Will fill the entire width of the page by default.

Back

Display: inline-block

Front

combines features of both inline and block elements.

Back

Align-content

Front

if a container has multiple rows of content, it can space the rows from top to bottom.

Back

Flex container

Front

is an element on a page that contains flex items.

Back

Clear

Front

specifies how elements should behave when they bump into each other on a page (whether they should touch or not)

Back

Flex items

Front

all direct child elements of a flex container.

Back

margin auto

Front

Instructs the browser to adjust the left and right margins until the element is centered.

Back

Float

Front

will move elements as far right or left as possible.

Back

Inline-flex

Front

creates a flex container that is also inline

Back

Background-size: cover

Front

will scale a background image proportionately.

Back

Display: flex

Front

makes elements a flex container and will remain block level

Back

Margin auto

Front

Instructs the browser to adjust the left and right margins until the element is centered.

Back

Border-box

Front

value for the new box model- is not affected by border thickness or padding.

Back

display: inline

Front

elements have a box that wraps tightly around their content, only taking up the amount of space necessary to display their content and not requiring a new line after each element. The height and width of these elements cannot be specified in the CSS document.

Back

Overflow: visible

Front

the overflow content will be displayed outside of the containing element (default)

Back

Position: relative

Front

position an element relative to its default static position on the web page.

Back

Flex-basis

Front

specifies the width of an item before it stretches

Back

Align-items

Front

align items vertically

Back

Flex-shrink

Front

specifies which element will shrink and in what proportions.

Back

Overflow: scroll

Front

a scroll bar will be added to the elements box

Back

Flex-wrap

Front

will move items to the next line (wrap, wrap-reverse, nowrap)

Back

Flex-grow

Front

specifies if items should grow to fill the container and also which items should grow proportionally more or less than others.

Back

Overflow: hidden

Front

any content that overflows will be hidden from view

Back

Flex-direction

Front

specifies the major and cross axes.

Back

Position: absolute

Front

all other elements on page will ignore the element and act like it's not present on the page. The element will be positioned relative to its closest positioned parent element.

Back

Justify-content

Front

to position items left to right

Back