¿Cómo usar Google Fonts?



Pasos para utilizar Google Fonts en tu página web

  • Seleccionar una fuente

  • Click en "select this style" luego seleccionar la pestaña embed


Copiar el link en el <head>:

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Blog</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="style/style.css">
</head>

Luego en el CSS:

*{
  font-family'Roboto'sans-serif;
}

Comentarios

Publicar un comentario

Entradas populares de este blog

Menú hamburguesa sólo con CSS