CSS Unit 2.2 CSS Enhanced design Flashcards

1
Q

The font property is a shorthand property for:

A
font-style
font-variant
font-weight
font-size/line-height
font-family
(see css tricks)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What css short hand property can we use instead of the “background-image”? What are some values we can give this property? (3)

A

background:
url()
top center /* be to add a ‘/’ after */
repeat-y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If we wanted to add a gradient to a call out button that goes from bottom to top right how would that look?

A

linear-gradient (to top right, #000, #000);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In a style pane when using chromedev tools, what does it mean when you see a crossed out declaration and a/or a greyed out one?

A

Crossed out declarations mean they’re being over ridden and greyed out means it’s just not being applied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Normalize.css

A

is a small CSS file that provides better cross-browser consistency in the default styling of HTML elements. It’s a modern, HTML5-ready, alternative to the traditional CSS reset.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define “flexbox container”

A

sets the context for flexbox layout; it contains flex items, the actual elements you layout using flexbox.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define “flex item”

A

Every direct child of a flex container is called a flex item; there can be any number of flex items inside a flex container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In css make a class a flex box container

A

.class {display: flex;}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

define “flex-direction” property

A

CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Using “flex box” properties how do we make flex items wrap so they don’t off the edge of a viewport?

A

flex-wrap: wrap;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define “justify-content”

A

property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

define the “order” property

A

property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly