You have to import the font in your stylesheet like this:
@font-face{
font-family: "Thonburi-Bold";
src: url('Thonburi-Bold.ttf'),
url('Thonburi-Bold.eot'); /* IE */
}
More Related Contents:
- Font Awesome How To
- How to add some non-standard font to a website?
- How do I install a custom font on an HTML site
- Font Awesome icon inside text input element
- Fonts on the Web [duplicate]
- Multiple Spaces Between Words in HTML without
- Using .otf fonts on web browsers
- Use multiple @font-face rules in CSS
- Loading an external font via inline CSS
- ios7 font size change when create nsattributedstring from html
- How to convert to px?
- How to vertically align text with icon font?
- Why is ‘font-family’ not inherited in ” tags automatically?
- Cross-browser embedded font in svg image
- How can I use custom fonts in an HTML5 Canvas element?
- Change css font-family for separate options in select tag
- Photoshop Mock Up Font isn’t same as in HTML
- File input ‘accept’ attribute – is it useful?
- How to prevent downloading images and video files from my website?
- How do I prevent site scraping? [closed]
- How to wrap text of HTML button with fixed width?
- Image width/height as an attribute or in CSS? [duplicate]
- What’s default HTML/CSS link color?
- Why is a self-closing iframe tag preventing further DOM elements to be displayed?
- CSS: stretching background image to 100% width and height of screen?
- Starting with a forward slash in html for “href”
- How to Animate Gradients using CSS
- iOS 11 Safari bootstrap modal text area outside of cursor
- Stop LastPass filling out a form
- How to change cursor color without changing text color?