IES: CSS-deck 10 Flashcards

1
Q

font-size

A
  • property assigning values that specify the size of text
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

absolute size

A

Specified by assigning 1 of the following unit names to the font-size property:
* inches (in)
* Centimeters (cm)
* Millimeters (mm)
* Points (pt)
* Picas (pc)

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

CSS relative size

A
  • Using relative size as opposed to absolute size provides for maximum flexibility
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CSS relative size values: keywords

A
  • “medium” is the browsers default font size: the rest are computed relative to this
  • “xx-large”
  • “x-large”
  • “large”
  • “small”
  • “x-small”
  • “xx-small”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Table with relative font-size keywords with possible/probable absolute values (pt)

A
  • “medium” is the browsers default font size: the rest are computed relative to this (12 pt)
  • “xx-large” (24 pt)
  • “x-large” (17 pt)
  • “large” (13.5 pt)
  • “small” (10.5 pt)
  • “x-small” (7.5 pt)
  • “xx-small” (7 pt)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It is preferable to use \_\_\_\_\_ units or \_\_\_\_\_ values to specify sizes relative to the browser default font value.

A

It is preferable to use em units or percentage values to specify sizes relative to the \_\_\_\_\_ \_\_\_\_\_ \_\_\_\_\_ value.

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

“vw”

A
  • a further refinement beyond using em units or percentage values.
  • “viewport width”
  • A value of one “vw” is 1% of the current viewport width
  • Allows the text size to resize to suit the viewing device or browser window
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The \_\_\_\_\_ or \_\_\_\_\_ of text can be adjusted using the font-weight property and \_\_\_\_\_ like “bold” and “normal”

A

The thickness or “weight”of text can be adjusted using the _____ property and keywords like “\_\_\_\_\_” and “\_\_\_\_\_

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

These fonts are considered to be more readable for smaller texts.

A

Sans-serif fonts are considered to be more readable for what?

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

oblique

A
  • keyword value for the CSS property font-style
  • Requests the browser use a slanting variant of the current font
  • A Roman font that has been skewed a certain number of degrees (8-12 degrees, usually)
  • Effect may be overridden by the specification of “normal” to the element’s font-style
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

italic

A
  • keyword value for the CSS property font-style
  • Requests the browser use a slanting variant of the current font
  • Drawn differently to create a more calligraphic, as well as slanted font version
  • Effect may be overridden by the specification of “normal” to the element’s font-style
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Small-caps

A
  • a CSS font-variant property value
  • Allows text characters to be displayed in a small capitals format using uppercase characters of two different sizes.
  • Uppercase text will appear as large capital characters, but lowercase text will appear as smaller capitals
  • Effect may be overridden by the specification of “normal” to the element’s font-variant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CSS shorthand appearance: font

A

font-style font-variant font-weight font-size font-family
Ex. (p {font: italic small-caps bold medium “Times”, serif;})

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

CSS shorthand rules: font

A
  • font-size and font-family values are mandatory
  • Font-Style, front-variant, and font-weight are optional
  • The optional properties may appear in any order
  • If the optional properties are omitted, a “normal” value will be automatically assumed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CSS rules: font

A
  • Unless a font value is explicitly specified:
  • “normal” is the font default value
  • This value will override the current parent element value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

font-size

A
  • combined font rule:
  • Option to specify a line-height by adding a forward slash and unit value after the font-size value
  • (useful to establish a common standard line spacing where various font sizes appear)
17
Q

Always use the font \_\_\_\_\_ property rather than the individual properties.

A

Always use the font shorthand property rather than the \_\_\_\_\_ properties.

18
Q

Default behavior for text display in a content box.

A

English language text in a paragraph is normally horizontally aligned to the left edge of the paragraph

19
Q

text-align

A
  • can explicitly specify how text should be horizontally aligned within the content box
  • Uses the keywords: “left”, “center”, “right”, or “justify.”
  • Controls alignment of text within a content box - it is not used to center content boxes
20
Q

text-align keyword “justify”:

A
  • aligns each full line to both left and right edges of the content box
  • also adjusts the spacing between characters and words to make each line the same length.