mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-04 18:05:32 -05:00
fix(curriculum): replace 'spreadsheet' with 'stylesheet' in a CSS lecture (#61307)
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
---
|
||||
id: 672bd834cedccefd5939a913
|
||||
title: What Is the @font-face At-Rule, and How Does It Work?
|
||||
challengeType: 11
|
||||
videoId: hpD2-pwEQjc
|
||||
challengeType: 19
|
||||
dashedName: what-is-the-font-face-at-rule
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the video or read the transcript and answer the questions below.
|
||||
Read the transcript and answer the questions below.
|
||||
|
||||
# --transcript--
|
||||
|
||||
@@ -24,7 +23,7 @@ With `@font-face`, you can define a custom font by specifying the font file, for
|
||||
}
|
||||
```
|
||||
|
||||
Within the curly brackets, you will need to include descriptors to customize your font face. Let's see some of the most commonly used ones. The font-family descriptor specifies the name that you will use throughout the spreadsheet to refer to that font. For example, let's say that you define this `@font-face rule`. It has the `font-family` descriptor defined and its value is `MyCustomFont`:
|
||||
Within the curly brackets, you will need to include descriptors to customize your font face. Let's see some of the most commonly used ones. The font-family descriptor specifies the name that you will use throughout the stylesheet to refer to that font. For example, let's say that you define this `@font-face rule`. It has the `font-family` descriptor defined and its value is `MyCustomFont`:
|
||||
|
||||
```css
|
||||
@font-face {
|
||||
|
||||
Reference in New Issue
Block a user