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.3 -->
<!-- 3. Повторите страницу по данному образцу -->
  <div class="content">
    <div class="header">
      <h1>Шаблон сайта</h1>
      <h2><a class="one"href="#">Integer odio risus</a></h2>
      <p>Lorem ipsum dolor <span>sit amet</span>, 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>
      <p class="link"><a class="two" href="#">Подробнее...</a></p>
    </div>
    <div class="wrapper">
      <h2><a class="one" href="#">Nullam id faucibus ante!</a></h2>
      <p>Integer odio risus, imperdiet vitae orci non, <span>pulvinar suscipit dui</span>. 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>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <span>Donec vitae ipsum a magna</span> tempor venenatis. Maecenas in diam laoreet, vulputate diam ac, tristique metus. Donec id neque turpis. Praesent est arcu, hendrerit ac augue vitae, suscipit varius leo. Praesent malesuada nec dolor et vestibulum. Quisque commodo aliquam sapien, in feugiat magna tristique eget. Nulla aliquam risus ac pellentesque ullamcorper. Sed sit amet volutpat enim. <span>Pellentesque habitant</span> morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius bibendum purus a vestibulum. Vivamus rhoncus accumsan placerat. Etiam vel velit vehicula, consequat velit a, luctus dui. Ut accumsan, tellus vel ultricies interdum, orci arcu vulputate augue, at commodo enim nulla a metus. Morbi rhoncus mattis quam, vitae dictum felis lacinia in. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>
      <p>Curabitur fermentum blandit placerat. <span>Ut sodales sapien</span> quis neque vestibulum, vitae commodo magna tempor. Integer malesuada enim non ultricies egestas. Sed fringilla, leo sit amet fringilla congue, metus lorem cursus tortor, in sodales sapien arcu eu velit. Nunc nec fermentum tellus. Sed sapien justo, tempus in iaculis vitae, condimentum a lectus. Quisque ut diam in eros scelerisque varius. Fusce accumsan, purus ut accumsan blandit, felis neque luctus nunc, in fermentum risus risus in dolor. Etiam eu risus erat. Mauris mattis rutrum dui. Suspendisse sed risus scelerisque dui mollis pulvinar. Etiam semper quam lectus, a vestibulum diam venenatis eu. Ut dignissim fringilla urna, id eleifend nunc malesuada quis. Sed ornare mi id lobortis eleifend.</p>
      <p class="link"><a class="two" href="#">Подробнее...</a></p>
    </div>
  </div>
              
            
!

CSS

              
                /*3. Повторите страницу по данному образцу*/
.content {
  width: 700px;
  border: 1px solid black;
  margin: 0 auto;
  padding: 0 20px;
}

.content h1,
.content h2 {
  text-align: center;
}

.content h2,
.content a {
  color: rgb(208, 57, 140);
}

.header h1 {
  margin-top: 0;
}

.content span {
  font-weight: bold;
  color: green;
}

.content p {
  text-indent: 50px;
  text-align: justify;
  font: 13px/190% Arial, serif;
}

.content a {
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
}

.content p.link {
  text-align: right;
  margin-right: 30px;
}

a.one:hover {
  text-decoration: underline;
  color: black;
}

a.two:hover {
  color: white;
  background-color: rgb(208, 57, 140);
  border-radius: 5px;
}

              
            
!

JS

              
                
              
            
!
999px

Console