Wie ändere ich die font-family einer <button> - element?

Dies ist meine einzige CSS -

@font-face {
  font-family: 'thefont';
  src: url('fonts/the-font.otf');
  font-style: normal;
}

body {
    font-family: 'thefont';
}

Wenn ich eine <button>Hi</button> die Schrift endet als -apple-system.

Wenn ich tatsächlich weisen Sie die schriftart button ist, wird die schriftart angezeigt.

Weiß jemand, warum es nicht auf den Körper und überhaupt alles drin?

InformationsquelleAutor bryan | 2016-10-20

Schreibe einen Kommentar