Team:Calgary/Sandbox
From 2012.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
@media only screen and (min-device-width:481px){ | @media only screen and (min-device-width:481px){ | ||
p{ | p{ | ||
- | font-family: Arial; | + | font-family: "Arial"; |
- | font-size: | + | font-size: 1.5em; |
- | font- | + | } |
+ | p.family{ | ||
+ | font-family: "Myriad Pro"; | ||
+ | font-size: 1.5em; | ||
+ | } | ||
+ | p.face{ | ||
+ | font-face: "Myriad Pro"; | ||
+ | font-size: 1.5em; | ||
} | } | ||
#box{ | #box{ | ||
Line 76: | Line 83: | ||
<div data-role="collapsible"> | <div data-role="collapsible"> | ||
<h3>Header</h3> | <h3>Header</h3> | ||
- | <p>This is | + | <p class="family">This is a test for font-family.</p> |
+ | <p class="face">This is a test for font-face.</p> | ||
+ | <p>This is a typical sentence.</p> | ||
</div> | </div> | ||
<div class="arrow"></div> | <div class="arrow"></div> |
Revision as of 19:01, 18 June 2012
Header
This is a test for font-family.
This is a test for font-face.
This is a typical sentence.