Putting CSS to Work: Common CSS Properties Flashcards

1
Q

CSS references

A
  • w3schools.com/cssref
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CSS border Property

A
  • The border property is a shorthand property for:
  • border-width
  • border-style (required)
  • border-color
  • border: border-width border-style border-color|initial|inherit;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

pixel

A
  • an element of the screen

- larger screen, more pixels

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

CSS display Property

A
  • display: value;
  • The display property specifies the display behavior (the type of rendering box) of an element.
  • In HTML, the default display property value is taken from the HTML specifications or from the browser/user default style sheet. The default value in XML is inline, including SVG elements.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CSS height Property

A
  • The height property sets the height of an element.
  • The height of an element does not include padding, borders, or margins!
  • If height: auto; the element will automatically adjust its height to allow its content to be displayed correctly.
  • If height is set to a numeric value (like pixels, (r)em, percentages) then if the content does not fit within the specified height, it will overflow. How the container will handle the overflowing content is defined by the overflow property.
  • Note: The min-height and max-height properties override the height property.
  • height: auto|length|initial|inherit;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly