Télécharge d'abord le fichier zip et place le(s) fichier(s) de police à côté de ton propre CSS - le chemin ci-dessous est un espace réservé à adapter. Fontasy.de ne fournit pas le fichier de police lui-même en direct.
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: 'Raleway Medium';
src: url('/yourfontpath/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
font-weight: 100;
font-style: italic;
font-stretch: normal;
}
.my-text {
font-family: 'Raleway Medium', sans-serif;
} Copier Copié !
Commentaires