Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>

  <div class="container-fluid">
    <p>
      <center>
        <img src="https://res.cloudinary.com/dmo3iabvy/image/upload/v1467207025/image_uh2ydh.jpg" id="knittingball" height="445" width="665 align=" center class="thin-brown-border">

      </center>
    </p>
    <p>
      <center>
        <h1 style="font-family: sans-serif;">For the Love of Knitting</h1>
      </center>
    </p>
    <div>
      <p id="p02">For those who <b>love knitting</b> and other handcrafts there is no better way to spend an afternoon. Just the act of sorting through yarn, patterns - online or in book form, and actually knitting brings a peace to your mind and soul. There is just
        something wonderful that occurs when you spend time at a repetitive handwork that produces endorphins and brings soothing into your being. Then when you are done and have a completed project it's a joyous occasion to be able to use or give away
        something that you poured yourself into. You are definitely giving away a piece of yourself that no storebought item can equal.
    </div>

    <div class="box">
      <aside style="text-align: center;"><b>Timeline</b></aside>
      <ul>
        <li>11th Century Hand Knitting of Cushions and Gloves</li>

        <li>13th and 14th Centuries Hand Knitting of knit stitch only</li>
        <li>1390 Peg Frame Knitting</li>
        <li>1400 The Term "to Knit" was added to the English Language</li>
        <li>15th Century Knitting was expensive and controlled by trade guilds</li>
        <li>1527 First Trade Guilds for Knitters</li>
        <li>1589 Stocking Loom</li>
        <li>16th Century Purl Stitch Introduced; Skill stopped being a duty for the lower classes and added to the skills for "refined ladies"</li>
        <li>1736 Framework Knitting</li>
        <li>17th and 18th Kintting is greatly adapted in Scotland; Men took up the craft; new items being knitted were sweaters, gloves, socks, scarves and more</li>
        <li>1867 The Lamb Knitting Machine</li>
        <li>1870 the Crane Knitter-flat bed and circular sock machines</li>
        <li>1900 Cable Knit stitch introduced; more colors, yarns and designs were available</li>
        <li>1908 Home Knitting Machines</li>
        <li>1943 Griffith Knitting Machine</li>
        <li>21st Century and Beyond: A Wonderful Hobby, Craft, and for some...Vocation</li>
      </ul>
    </div>

  </div>

  <div style="font-family: sans-serif;">
    <p style="text-align: center;">Written and Coded by Susan Daley</div>

  <footer style="text-align: center;">For More Information: <a href="https://en.m.wikipedia.org/wiki/Knitting" target="_blank">Wikipedia,</a> and
    <a href="http://sheepandstitch.com/the-history-of-knitting-part-1-mysterious-origins/" target="_blank">Sheep&Stitch,</a> and my favorite website for patterns, help and friends
    <a href="https://www.ravelry.com/account/login" target="_blank">Ravelry.</a>

  </footer>
  </div>
</body>
              
            
!

CSS

              
                .thin-brown-border {
  border-color: brown;
  border-width: 4px;
  border-style: solid;
}

.box {
  border-style: solid;
  border-color: brown;
  border-width: 4px;
  margin: 90px 90px 90px 90px;
  text-align: left;
  font-family: verdana;
  font-size: 16pt;
}

#knitingball {
  border-style: solid;
  border-color: red;
  border width: 8px;
}


#p02 {
  margin: 90px 90px 90px 90px;
  font-size: 15pt;
}

.body {
  background: rgba(63, 127, 191, 0.5) repeat fixed center;
}

body {
  background: rgba(63, 127, 191, 0.5) url("smiley.gif") no-repeat fixed center;
  height="445" width="665" align="center" class="medium-brown-border">
}
              
            
!

JS

              
                
              
            
!
999px

Console