-
-
Save ashleyvernon/6b78438c5656d3931b95a9206312abe0 to your computer and use it in GitHub Desktop.
// source https://jsbin.com/javetiq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="style.css"> | |
<style id="jsbin-css"> | |
body { | |
background: #333; | |
} | |
div { | |
background: #c0dec5; | |
margin: 4em; | |
padding: 2em 3em 0 3em; | |
} | |
span { | |
font-family: tahoma, sans-serif; | |
font-size: small-caps; | |
line-height: .25em; | |
padding: 0 .2em; | |
background-color: rgba(100,150,150,0.5) | |
} | |
p { | |
font-family: georgia, serif; | |
font-size: 20px; | |
line-height: 1.4em; | |
} | |
#right { | |
text-align: right; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<p>Build a good <span>name</span>. Keep your <span>name</span> clean. Be concerned about doing good work. Protect your work, and if you build a good <span>name</span>, eventually that <span>name</span> will be its own currency.</p> | |
<p class="right">— William S. Burroughs’s advice to Patti Smith</p> | |
</div> | |
<script id="jsbin-source-css" type="text/css">body { | |
background: #333; | |
} | |
div { | |
background: #c0dec5; | |
margin: 4em; | |
padding: 2em 3em 0 3em; | |
} | |
span { | |
font-family: tahoma, sans-serif; | |
font-size: small-caps; | |
line-height: .25em; | |
padding: 0 .2em; | |
background-color: rgba(100,150,150,0.5) | |
} | |
p { | |
font-family: georgia, serif; | |
font-size: 20px; | |
line-height: 1.4em; | |
} | |
#right { | |
text-align: right; | |
}</script> | |
</body> | |
</html>sss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #333; | |
} | |
div { | |
background: #c0dec5; | |
margin: 4em; | |
padding: 2em 3em 0 3em; | |
} | |
span { | |
font-family: tahoma, sans-serif; | |
font-size: small-caps; | |
line-height: .25em; | |
padding: 0 .2em; | |
background-color: rgba(100,150,150,0.5) | |
} | |
p { | |
font-family: georgia, serif; | |
font-size: 20px; | |
line-height: 1.4em; | |
} | |
#right { | |
text-align: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exercise 4.2.1