Computer scienceFrontendCSSBasic propertiesWorking with Text

Using Fonts

Set Inter font

Report a typo

Set the Inter font using @font-face

Fill in the gaps with the relevant elements
@font-face {
  font-family: 'Inter';
  src: font-url('fonts/Inter-Regular.ttf');
  font-weight: ;
}

@font-face {
  font-family: 'Inter';
  src: font-url('fonts/Inter-Light.ttf');
  font-weight: ;
}

@font-face {
  font-family: 'Inter';
  src: font-url('fonts/Inter-Bold.ttf');
  font-weight: ;
}

@font-face {
  font-family: 'Inter';
  src: font-url('fonts/Inter-Medium.ttf');
  font-weight: ;
}
200300900400700500

Create a free account to access the full topic