add font to css
/* Answer to: "add font to css" */
/*
In the @font-face rule; first define a name for the font
(e.g. myFirstFont) and then point to the font file.
Tip: Always use lowercase letters for the font URL. Uppercase
letters can give unexpected results in IE.
To use the font for an HTML element, refer to the name of the
font (myFirstFont) through the font-family property:
*/
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
div {
font-family: myFirstFont;
}
/*
For more information, go to:
https://www.w3schools.com/css/css3_fonts.asp
*/
Also in CSS:
- css how to stop screen from left and right
- input remove blue glow
- css no bottom ouline
- center with css
- putting label on top of input css
- css to hide scrollbar
- media query change button text
- css transform transition
- :root css
- css multiple classes
- css hero image
- css padding
- css animate flashing
- sapui5 css classes
- css italic text
- remove arrows from input type number
- removing space between words css
- make the first item at the very top of the screen
- css text transform
- button width based on text csss
- first-child
- css aplying everything
- background color css
- css justify content