IES: CSS-deck 7 Flashcards

1
Q

Padding: when four values are listed for this property, How are they applied?

A

Padding: the values for this property are applied clockwise starting with the top when how many are listed for this property?

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

Setting padding ( as well as any other property) as a percentage may not work out very well when a \_\_\_\_\_ or a \_\_\_\_\_ resizes some aspect of the window.

A

When a user or a browser resizes a window aspect, if an aspect is set as a \_\_\_\_\_, this series of settings may cause the window and its contents to skew.

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

To set the padding values, always use the \_\_\_\_\_ \_\_\_\_\_?

A

Always use CSS shorthand when setting \_\_\_\_\_ \_\_\_\_\_, even when that value is 0 -none is required.

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

The \_\_\_\_\_ color of the content box fills the content area and the padding area right up to the outer edge of the border area.

A

The background color fills what three areas in the box model of a content element.

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

This area surrounds the core content area and extends right up to the beginning of the margin area?

A

The padding area surrounds the core content area and extends to the beginning of the \_\_\_\_\_ area?

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

Each content box can have outer transparent “margin” space added Beyond The Border areas by doing what?

A

Employing a style rule assigning a value to the margin property accomplishes what?

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

Margin: how many values are assigned to the property in order to apply a uniform margin width to all four sides of the content box?

A

Margin: assigning one value to the property applies a \_\_\_\_\_ \_\_\_\_\_ to all four sides of the content box.

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

Margin: two values are listed?

A

Margin: when this happens, the first is applied to the top and bottom and the second is applied to the left and right?

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

Margins: three values are listed?

A

When this happens; the first is applied to the top, the second is applied to the left and right, and the third is applied to the bottom.

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

Margins: 4 values are listed?

A

When this happens, the value are applied clockwise starting with the top.

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

The margin property default value?

A

This default value is 0, but in reality the browser applies its own intrinsic default values to allow spacing between elements.

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

The margin property can be specified as a \_\_\_\_\_ value, as a \_\_\_\_\_ value, or with the \_\_\_\_\_ keyword to have the browser compute a suitable margin.

A

The “auto” keyword has the browser compute a suitable margin, a unit value is specified, or a percentage value is specified for the \_\_\_\_\_ property.

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

Calculation: when the “auto” keyword is employed to specify the margin property?

A

The browser first calculates the distance to the left and right of that element, up to the boundaries of its containing element, then divides the total in half to compute this value?

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

To have different margin widths on each side of the content box, the margin can be individually styled by creating rules for these element properties?

A

Margin-top, margin-right, margin-bottom, and margin-left properties are all individually defined in order to accomplish what?

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

CSS shorthand for defining these properties: margin-right, margin-bottom, margin-left, and margin-top?

A

Margin: 5 2 3 9;
This declaration defines what?

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

The “auto” keyword with regards to margin is essential for what?

A

The ability to \_\_\_\_\_ compute margin size is essential for centering content boxes?

17
Q

“margin: auto;”
What does this declaration center?
What does this declaration not center?

A

What declaration centers the content box but not the content within the box?

18
Q

With regards to the target element, position values specify which point?

A

What values specify the position of the top left corner of the target element?

19
Q

CSS “position” property default value:

A

the CSS default value of “static” is assigned to which property?

20
Q

CSS position property default value: “static” represents what?

A

The normal flow positioning scheme is represented by which CSS default value?