css font face
@font-face {
// Defining what the font will be called
font-family: thisSpecialFont;
// Linking to the font file
src: url(linkToFontFile.woff);
}
body {
font-family: thisSpecialFont;
}
css font face
@font-face {
// Defining what the font will be called
font-family: thisSpecialFont;
// Linking to the font file
src: url(linkToFontFile.woff);
}
body {
font-family: thisSpecialFont;
}
use css in cshtml
<link rel="stylesheet" href="app.css" type="text/css" />
how to use scss in html
/* Answer to: "how to use scss in html" */
/*
Unfortunately, you can't directly insert an SCSS (Sassy CSS) file
into your HTML. That's because SASS is a superset (or so-called
preprocessor or extension) of CSS3's syntax, which is NOT
supported by web browsers.
To take full advantage of all the incredible features offered by
SCSS in your HTML page, you’ll first have to compile it down
to CSS.
For more information, check out the answers in:
https://www.quora.com/How-do-I-insert-an-SCSS-file-into-HTML
*/
use google font in html
body {
font-family: '*Insert google font';font-size: 22px;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us