CSS: Typography Flashcards

(31 cards)

1
Q

What is Typography?

A

Typography is the art of choosing the right fonts and format to make text visually appealing and easy to read. “Type” refers to how the individual characters are designed and arranged.

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

What is Typeface?

A

A typeface is the overall design and style of a set of characters, numbers, and symbols. It’s like a blueprint for a family of fonts.

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

What is a Font?

A

A font is a specific variation of a typeface with specific characteristics, such as size, weight, style, and width.

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

What is Serif Typeface?

A

This typeface has a classical style with small lines at the end of characters. Serif typefaces are commonly used for printed materials, like books.

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

What is Sans Serif Typeface?

A

This typeface has a more modern look, without the small lines at the end of characters. Sans Serif typefaces are commonly used in digital design because they are easy to read on screen. Some examples include Helvetica, Arial, and Roboto.

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

What is Font Weight?

A

This is the thickness of the characters, including light, regular, bold, and black.

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

What is Font Style?

A

This is the slant and orientation of the characters, like italic and oblique.

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

What is Font Width?

A

This is the horizontal space occupied by characters, like condensed and expanded.

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

What is the Baseline?

A

This is the imaginary line on which most characters rest.

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

What is the Cap Height?

A

This is the height of uppercase letters, measured from the baseline to the top.

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

What is the X-Height?

A

This is the average height of lowercase letters, excluding ascenders and descenders.

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

What are Ascenders?

A

These are the parts of lowercase letters that extend above the x-height, such as the tops of the letters ‘h’, ‘b’, ‘d’, and ‘f’.

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

What are Descenders?

A

These are the parts of lowercase letters that extend below the baseline, such as the tails of ‘y’, ‘g’, ‘p’, and ‘q’.

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

What is Kerning?

A

This is how space is adjusted between specific pairs of characters to improve their readability and aesthetics. For example, reducing the space between the letters A and V.

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

What is Tracking?

A

This is how space is adjusted between all characters in a block of text. It’s essentially the distance between the characters. It affects how dense and open the text will be.

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

What is Leading?

A

This is the vertical space between lines of text. It’s measured from the baseline of one line to the baseline of the next line.

17
Q

What are Best Practices in Typography?

A

You should choose clear and simple fonts to make your designs easy to understand. This is particularly important for the main text of your website. Users are more likely to engage with your content if the font is easy to read.

18
Q

What is the “font-family” Property?

A

A font family is a group of fonts that share a common design. All the fonts that belong to the same family are based on the same core typeface but they also have variations in their style, weight, and width. You can specify multiple font families in order of priority, from highest to lowest, by separating them with commas. These alternative fonts will act as fallback options. You should always include a generic font family at the end of the font-family list.

19
Q

What are some Common Font Families?

A

Here are some common font families used in CSS: serif, sans-serif, monospace, cursive, fantasy

20
Q

What are Web Safe Fonts?

A

These fonts are a subset of fonts that are very likely to be installed on a computer or device. When the browser has to render a font, it tries to find the font file on the user’s system. But if the font is not found, it will usually fall back to a default system font.

21
Q

What is an At-rule?

A

At-rules are statements that provide instructions to the browser. You can use them to define various aspects of the stylesheet, such as media queries, keyframes, font faces, and more.

22
Q

What is the “@font-face” At-rule?

A

This allows you to define a custom font by specifying the font file, format, and other important properties, like weight and style. For the @font-face at-rule to be valid, you also need to specify the src property. This property contains references to the font resources.

23
Q

What are Font Formats?

A

For each font resource, you can also specify the format. This is optional. It’s a hint for the browser on the font format. If the format is omitted, the resource will be downloaded and the format will be detected after it’s downloaded. If the format is invalid, the resource will not be downloaded. Possible font formats include collection, embedded-opentype, opentype, svg, truetype, woff, and woff2.

24
Q

What are “woff” and “woff2” Font Formats?

A

woff stands for “Web Open Font Format.” It’s a widely used font format developed by Mozilla in collaboration with Type Supply, LettError, and other organizations. The difference between woff and woff2 is the algorithm used to compress the data.

25
What is an External Font?
An external font is a font file that is not included directly within your project files.They're usually hosted on a separate server. To include these external fonts inside your project, you can use a link element or @import statement inside your CSS.
26
What is Google Fonts?
This is a Google service that offers a collection of fonts, many of which are designed specifically for web development.
27
What is Font Squirrel?
This is another popular resource that you can use for adding custom external fonts to your projects.
28
What is the "text-shadow" Property?
This property is used to apply shadows to text. You need to specify the X and Y offset, which represent the horizontal and vertical distance of the shadow from the text, respectively. These values are required. Positive values of the X offset and Y offset will move the shadow right and down, respectively, while negative values will move the shadow left and up.
29
What is text-shadow shadow color?
You can also customize the color of the shadow by specifying this value before or after the offset. If the color is not specified, the browser will determine the color automatically, so it's usually best to set it explicitly.
30
What is text-shadow blur-radius?
The blur radius is optional but will make the shadow look a lot smoother and more subtle. The default value of the radius blur is zero. The higher the value, the bigger the blur, which means that the shadow becomes lighter.
31
Can you have multiple text-shadows?
The text can have more than one shadow. The shadows will be applied in layers, from front to back, with the first shadow at the top.