Tough ones Flashcards

1
Q

I would use this if I wanted all text in an element to be uppercase or lowercase

A

text-transform

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

In the CSS Box model

width = content width + / _______ + / b_____ + / ___g__

You can also set the height and width of the element using the h/w properties

A

In the CSS Box model

height = content height + L/R padding + L/R border + L/R margin

You can also set the height and width of the element using the h/w properties

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

What do these do?
flex-basis: 200px/auto
flex-grow: 2
flex-shrink:

A

flex-basis: determines initial size of the flex item (any unit). “auto” means that the size is determined by the height and weight

flex-grow: Defines the growth factor of an element relative to the other items
flex-shrink: defines how much an item will shrink when not enough space in the container

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

What does this do?
display: none;

A

Element will not be displayed (no effect on layout)

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