Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
@font-face {
|
||||
font-family: "Spectral";
|
||||
src: url(spectral-regular.ttf) format("truetype"),
|
||||
url(spectral-regular.woff2) format("woff2");
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Spectral";
|
||||
src: url(spectral-bold.woff2) format("woff2");
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Spectral";
|
||||
src: url(spectral-italic.woff2) format("woff2");
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 50px;
|
||||
font-family: Spectral, sans-serif;
|
||||
}
|
||||
|
||||
#bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#italic {
|
||||
font-style: italic;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Schriftarten Lokal Einbinden</title>
|
||||
<link rel="stylesheet" type="text/css" href="schriftartenLokalEinbinden.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Lorem Ipsum dolor sit amet.
|
||||
<span id="bold">Lorem Ipsum dolor sit amet.</span>
|
||||
<span id="italic">Lorem Ipsum dolor sit amet.</span>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user