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

              
                <!--  архив9.6 -->
<!-- 6. Повторить страанице по данному образцу -->
  <div class="content">
    <div class="header">
      <h1>Cras ut nunc metus</h1>
    </div>
    <div class="wrapper">
      <h2><a href="#">Nulla pharetra</a></h2>
      <p>Lorem ipsum dolor <a href="#">sit amet</a>, consectetur adipiscing elit. Nulla pharetra risus erat, eu imperdiet felis suscipit at. Vivamus rhoncus vel neque non eleifend. Donec adipiscing eros quis molestie sodales. Proin vitae nulla ut sem lobortis scelerisque. Aliquam ultricies porta sem quis fringilla. Quisque pretium enim ut elit fringilla, in adipiscing ligula placerat. Integer id tortor tristique, facilisis lorem sit amet, porta ante. Nulla eget diam in erat hendrerit gravida.</p>
      <p>Cras ut nunc metus. Nullam id faucibus ante. Proin tristique lorem tristique dolor porttitor, eget adipiscing leo gravida. Proin erat erat, laoreet sit amet tincidunt ac, iaculis nec libero. In placerat odio ac dapibus faucibus. Praesent ut est in ligula facilisis congue eget ac ante. Phasellus at felis vitae est molestie ultricies.</p>
    </div>
    <div class="footer">
      <h2><a href="#">Lorem tristique dolor</a></h2>
      <p>Integer odio risus, imperdiet vitae orci non, <a href="#">pulvinar suscipit dui</a>. Proin condimentum luctus nulla, ut bibendum mi convallis nec. Vestibulum at venenatis nulla. Vivamus ligula justo, commodo eget quam a, aliquam semper dolor. Donec dapibus nunc hendrerit turpis porta auctor. Maecenas in hendrerit felis. Quisque id ligula a dui rhoncus sodales ac eu nulla. Vestibulum ac dignissim nulla. Fusce sollicitudin nisl massa, quis viverra metus condimentum non. Fusce quis viverra enim, id viverra libero. In accumsan justo enim, fringilla egestas ipsum suscipit at. Etiam sed quam mi. Vestibulum ultricies nisi luctus convallis malesuada.</p>
      <p>Cras ut nunc metus. Nullam id faucibus ante. Proin tristique lorem tristique dolor porttitor, eget adipiscing leo gravida. Proin erat erat, laoreet sit amet tincidunt ac, iaculis nec libero. In placerat odio ac dapibus faucibus. Praesent ut est in ligula facilisis congue eget ac ante. Phasellus at felis vitae est molestie ultricies.</p>
    </div>
  </div>
              
            
!

CSS

              
                /*6. Повторите странице по данному образцу*/
.content {
  width: 700px;
  border: 2px dashed green;
  border-radius: 15px;
  margin: 10px auto;
  color: green;
  padding: 0 10px;;
}

.header h1,
.wrapper h2,
.footer h2 {
  text-align: center;
}

.wrapper a:link,
.wrapper a:visited,
.footer a:link,
.footer a:visited {
  color: green;
  font-weight: bold;
}

.wrapper h2 a:hover,
.footer h2 a:hover {
  text-decoration: none;
  color: black;
}

.wrapper p a:hover,
.footer p a:hover {
  text-decoration: none;
}

p {
  font: 15px/140% Arial, serif;
  text-align: right;
}

              
            
!

JS

              
                
              
            
!
999px

Console