Skip to content

Instantly share code, notes, and snippets.

@joliz
Last active November 15, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joliz/625332ea165a4d9fdf29f1e1cb638cd2 to your computer and use it in GitHub Desktop.
Save joliz/625332ea165a4d9fdf29f1e1cb638cd2 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=625332ea165a4d9fdf29f1e1cb638cd2

Make this poem look nice without changing the HTML.

Hint: Use Google to find out how to use the CSS properties for

  • text-shadow
  • font-weight
  • background-repeat
  • background-position
  • background-size
  • background-attachment
<!DOCTYPE html>
<html>
<head>
<title>Background Image Practice</title>
</head>
<body>
<h1>JABBERWOCKY</h1>
<h2>Lewis Carroll</h2>
<p>(from <em>Through the Looking-Glass and What Alice Found There</em>, 1872)</p>
<p>`Twas brillig, and the slithy toves</p>
<p> Did gyre and gimble in the wabe:</p>
<p>All mimsy were the borogoves,</p>
<p> And the mome raths outgrabe.</p>
<p>"Beware the Jabberwock, my son!</p>
<p> The jaws that bite, the claws that catch!</p>
<p>Beware the Jubjub bird, and shun</p>
<p> The frumious Bandersnatch!"</p>
<p>He took his vorpal sword in hand:</p>
<p> Long time the manxome foe he sought --</p>
<p>So rested he by the Tumtum tree,</p>
<p> And stood awhile in thought.</p>
<p>And, as in uffish thought he stood,</p>
<p> The Jabberwock, with eyes of flame,</p>
<p>Came whiffling through the tulgey wood,</p>
<p> And burbled as it came!</p>
<p>One, two! One, two! And through and through</p>
<p> The vorpal blade went snicker-snack!</p>
<p>He left it dead, and with its head</p>
<p> He went galumphing back.</p>
<p>"And, has thou slain the Jabberwock?</p>
<p> Come to my arms, my beamish boy!</p>
<p>O frabjous day! Callooh! Callay!'</p>
<p> He chortled in his joy.</p>
<p>`Twas brillig, and the slithy toves</p>
<p> Did gyre and gimble in the wabe;</p>
<p>All mimsy were the borogoves,</p>
<p> And the mome raths outgrabe.</p>
</body>
</html>
{"hiddenUIComponents":["editor.javascript"]}
body {
background-image: url('http://classic-literature.co.uk/wp-content/uploads/1871/06/the-jabberwocky-illustration-by-john-tenniel.jpg');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment