Team:Calgary/Sandbox
From 2012.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<style> | <style> | ||
@media screen and (min-width:769px){ | @media screen and (min-width:769px){ | ||
- | p | + | p{ |
- | + | font-family: Arial; | |
- | + | font-size: 3em; | |
- | + | font-weight: bold; | |
- | + | ||
} | } | ||
} | } | ||
@media only screen and (max-device-width:768px){ | @media only screen and (max-device-width:768px){ | ||
- | p | + | p{ |
- | + | font-family: Helvetica; | |
- | + | font-size: 5em; | |
- | + | font-weight: normal; | |
- | + | color: red; | |
} | } | ||
} | } | ||
Line 24: | Line 23: | ||
<body> | <body> | ||
<p>This is a paragraph.</p> | <p>This is a paragraph.</p> | ||
- | + | ||
- | + | ||
<div id="redbox"></div> | <div id="redbox"></div> | ||
<div id="bluebox"></div> | <div id="bluebox"></div> |
Revision as of 22:34, 16 May 2012
This is a paragraph.