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.8 -->
<!-- 8. Повторите страницу по данному образцу -->
  <div class="content">
    <div class="header">
      <div class="nav">
        <ul>
          <li><a class="white" href="#">Главная</a></li>
          <li><a href="#">Новости</a></li>
          <li><a href="#">Контакты</a></li>
          <li><a href="#">О компании</a></li>
          <li><a href="#">Как добраться</a></li>
        </ul>
      </div>
      <div class="clearfix"></div>
    </div>
    <div class="wrapper">
      <h1>Vestibulum ante ipsum</h1>
      <p>Vestibulum ante ipsum primis <a href="#">in faucibus orci luctus</a> et ultrices posuere cubilia Curae; Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin eu fermentum diam, vitae faucibus ligula. Nam nec risus sed nisi porttitor ullamcorper iaculis ac nulla. Sed condimentum nisi in tincidunt adipiscing. Mauris vehicula mollis consequat. Vivamus non accumsan tortor. Aliquam dictum justo et augue viverra, vel interdum lorem pharetra.</p>
      <p>Nullam id faucibus ante. <a hfer="#">Proin tristique lorem</a> 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>
      <h2>Vestibulum ante</h2>
      <p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; <a href="#">Pellentesque</a> habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin eu fermentum diam, vitae faucibus ligula. Nam nec risus sed nisi porttitor ullamcorper iaculis ac nulla. Sed condimentum nisi in tincidunt adipiscing. Mauris vehicula mollis consequat. Vivamus non accumsan tortor. Aliquam dictum justo et augue viverra, vel interdum lorem pharetra.</p>
      <p>Duis vel dapibus nulla. <a href="#">Sed scelerisque</a> porttitor rhoncus. Nunc eleifend eget nulla sed malesuada. Vestibulum vestibulum ullamcorper lacus, ut ullamcorper tortor convallis quis. Mauris id eleifend nisi. Vivamus at dolor magna. Nulla eleifend odio sit amet nisl semper, id suscipit ligula semper. Nunc leo risus, ullamcorper quis ullamcorper nec, adipiscing et nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec vestibulum nibh vel magna iaculis, et porttitor massa egestas. Aliquam sodales tincidunt mi ac semper. Nam dignissim lectus elit, nec pharetra ligula suscipit quis.</p>
    </div>
  </div>
  <div class="clearfix"></div>
  <div class="footer">
    <ul>
      <li><a href="#">Scelerisque</a></li>
      <li><a href="#">Rhoncus</a></li>
      <li><a href="#">Proin</a></li>
      <li><a href="#">Tristique</a></li>
      <li><a href="#">Faucibus</a></li>
    </ul>
  </div>
              
            
!

CSS

              
                /*8. Повторите страницу по данному образцу*/

.content {
  width: 900px;
  margin: 0 auto;
  border: 1px solid orange;
}

.header ul li {
  list-style-type: none;
  float: left;
}

.header ul a {
  text-decoration: none;
}

.clearfix {
  clear: both;
}

.header ul {
  margin: 0;
  padding: 0;
  height: 46px;
  background-color: orange;
}

.header a.white:link,
.header a.white:visited {
  background-color: white;
  font: 12px Arial, serif;
  padding: 16px;
  color: orange;
  margin-top: 0;
  display: inline-block;
  font-weight: bold;
}

.header a:link,
.header a:visited {
  font: 12px Arial, serif;
  color: white;
  padding: 16px;
  margin-top: 0;
  display: inline-block;
  font-weight: bold;
}

.header a:hover {
  background-color: white;
  color: orange;
}

.wrapper h1,
.wrapper h2 {
  text-align: center;
  color: #A4614A;
  margin-bottom: 0;
}

.content p {
  color: #CF8000;
  padding: 0 14px;
  text-align: justify;
  text-indent: 55px;
  font-size: 17px;
  line-height: 180%;
}

.wrapper a:link,
.wrapper a:visited {
  color: #CF8000;
  font-weight: bold;
}

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

.footer {
  width: 450px;
  margin: 0 auto;
}


.footer ul li {
  list-style-type: none;
  float: left;
  padding: 5px 10px;
}

.footer ul a {
  text-decoration: none;
  font: bold 13px Arial, serif;
}

.footer a:link,
.footer a:visited {
  color: brown;
}

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

              
            
!

JS

              
                
              
            
!
999px

Console