View Single Post
Old 03-19-2016, 08:45 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
There is a lot of good learning to be had at the W3Schools. Here is one of the pages that covers Font Face. http://www.w3schools.com/cssref/css3...-face_rule.asp

I would highly recommend walking through a couple of their tutorials in order to get an idea of what's going on. After you do that, this might make more sense:

in css:
Code:
@font-face {
    font-family: Bodebeck;
    src: url("../Fonts/Bodebeck.ttf");
	font-style: normal
}
@font-face {
    font-family: "Sloops Two";
    src: url("../Fonts/Sloops.ttf");
	font-style: normal
}

h2 {font-family:Bodebeck, serif}
p.first {font-family:"Sloops Two", sans-serif}
and in html:
Code:
<h2>Chapter 3</h2>
<p class="first">There once was a man from Nantucket.</p>
Turtle91 is offline   Reply With Quote