Pages
HOME
HTML5
CSS3
JAVASCRIPT
PHP
C
SEO/SMM
SOFTWARE
TIPS & TRICKS
PRIVACY POLICY
CONTACTS
Tuesday, August 20, 2013
CSS text percent em
<html>
<head>
<style>
body {font-size:100%}
h1 {font-size:2.5em}
h2 {font-size:1.875em}
p {font-size:0.875em}
</style>
</head>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<p>This is a paragraph.</p>
</body>
</html>
Result
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment