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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <!DOCTYPE html>

<head>
  <link type="text/css" rel="stylesheet" href="stylesheet2.css">
  <meta charset="UTF-8">
  <title>Вывоз мусора</title>
</head>

<body>
  <div id="body">
    <div id="top">
      <div class="logo">
        <a href="index.html"><img src="http://dorsnab.net/assets/images/musor.jpg" /></a>
      </div>
      <div class="top_phone">
        <p>Заключение договоров
          <h3><strong>8 (965) 223-98-46</strong></h3></p>
        <br/>
        <p>Заказ, замена, постановка бункеров
          <h3><strong>8 (495) 648-648-1</strong></h3></p>
      </div>
    </div>
    <div class="content">
      <div class="menu">
        <table>
          <tr>
            <td><a href="index.html"><h5>ГЛАВНАЯ</h5></a></td>
            <td><a href="services.html"><h5>УСЛУГИ</h5></a>
              <table class="table2">
                <tr>
                  <td><a href="service1.html"><h5>ВЫВОЗ МУСОРА И ОТХОДОВ</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service2.html"><h5>СТРОИТЕЛЬНЫЙ МУСОР</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service3.html"><h5>КРУПНОГАБАРИТНЫЙ МУСОР</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service4.html"><h5>ВЫВОЗ СНЕГА</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service5.html"><h5>КОНТЕЙНЕР ДЛЯ МУСОРА</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service6.html"><h5>ПОГРУЗКА-РАЗГРУЗКА</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service7.html"><h5>БУНКЕРОВОЗЫ</h5></a></td>
                </tr>
                <tr>
                  <td><a href="service8.html"><h5>ВЫВОЗ И УТИЛИЗАЦИЯ ТБО</h5></a></td>
                </tr>
              </table>
            </td>
            <td><a href="about.html"><h5>О КОМПАНИИ</h5></a></td>
            <td><a href="contacts.html"><h5>КОНТАКТЫ</h5></a></td>
          </tr>
        </table>
      </div>
      <div id="left">
        <p>КОНТАКТЫ</p>
        <p>115230, Москва, Электролитный проезд, д.1, корп.3</p>
        <p>E-mail: <a href="mailto:89652239846@mail.ru">89652239846@mail.ru</a></p>
        <p>Заключение договора: <strong>+7 (965) 223-98-46</strong></p>
        <p>Заказ бункера: <strong>+7 (495) 648-648-1</strong></p>
      </div>
      <div id="right">
        <p>НАПИШИТЕ НАМ</p>
        <form action="/echo" method="post">
          <input type="text" placeholder="Имя" name="name">
          <br>
          <input type="email" placeholder="E-mail" name="mail">
          <br>
          <input type="text" placeholder="Тема" name="head">
          <br>
          <textarea name="comment" rows="7">Сообщение</textarea>
          <br>
          <input type="submit" value="Отправить">
        </form>
      </div>
    </div>
    <div class="hFooter"></div>
  </div>
  <div id="footer">
    <ul>
      <li><a href="news.html">Новости</a></li>
      <li><a href="reviews.html">Отзывы</a></li>
      <li><a href="#">Статьи</a></li>
      <li>115230, Москва, Электролитный проезд, д.1, корп.3</li>
    </ul>
  </div>
</body>

</html>
              
            
!

CSS

              
                * {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

html,
body {
  height: 100%;
  min-width: 1240px;
}

html {
  background: #fe860c;
}

#body {
  min-height: 100%;
}

#top {
  height: 275px;
  width: 100%;
  background: #FFFFFF;
  border-top: 10px solid #000000;
}

.logo {
  float: left;
}

#top img {
  height: 230px;
  width: 250px;
  margin: 30px 0 10px 50px;
}

.top_phone {
  background-color: #DC143C;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  width: 280px;
  height: 170px;
  float: right;
  margin: -10px 70px 10px 0;
  padding-top: 20px;
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
}

.content {
  width: 100%;
  background: #fe860c;
}

.menu {
  color: #FFFFFF;
}

.menu table {
  border-collapse: collapse;
  width: 100%;
  max-height: 0;
}

.menu table td {
  width: 25%;
  background: linear-gradient(to bottom, #696969, #000000);
  text-align: center;
  padding: 15px 0;
  border-right: 1px solid #000000;
  font-weight: bold;
}

.menu table td:last-child {
  border-right: none;
}

.menu td:hover {
  background: #DC143C;
  color: #FFFFFF;
  background: linear-gradient(to bottom, #FF0000, #DC143C);
}

.menu td:hover .table2 {
  display: block;
}

.menu td:active {
  color: #DC143C;
}

.menu table a {
  text-decoration: none;
  color: #FFFFFF;
}

.table2 {
  display: none;
  position: relative;
  top: 15px;
}

.table2 tr td {
  position: relative;
}

#left {
  float: left;
  margin: 20px 0 0 80px;
}

#left p {
  font-size: 14px;
  padding-bottom: 15px;
}

#left p:first-child {
  font-size: 30px;
}

#left p a {
  font-weight: bold;
  color: #000000;
}

#right {
  float: right;
  margin: 20px 300px 25px 0;
}

#right p:first-child {
  font-size: 30px;
}

#right form {
  margin-top: 20px;
}

input {
  border-radius: 3px;
  border: none;
  padding: 10px 0;
  background: #000000;
  color: #B5B5B5;
  margin-bottom: 12px;
  width: 500px;
  font-size: 12px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

input:last-child {
  background: #DC143C;
  font-size: 16px;
  margin-left: 390px;
  padding: 5px 10px;
  width: 110px;
  color: #FFFFFF;
}

textarea {
  resize: none;
  border-radius: 3px;
  border: none;
  padding: 10px 0;
  background: #000000;
  color: #9C9C9C;
  margin-bottom: 10px;
  width: 500px;
  font-size: 12px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#footer {
  background: #000000;
  width: 100%;
  height: 120px;
  position: relative;
  bottom: 0;
  margin-top: -120px;
  font-size: 15px;
}

.hFooter {
  clear: both;
  height: 120px;
}

#footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  padding-top: 60px;
  color: #FFFFFF;
  border-top: 10px solid #FFFFFF;
}

#footer ul li {
  display: inline-block;
  margin-left: 50px;
}

#footer ul li a {
  text-decoration: none;
  color: #FFFFFF;
  text-align: center;
  display: inline;
}

#footer ul li a:hover {
  color: #DC143C;
}
              
            
!

JS

              
                
              
            
!
999px
The Pen is mightier than the sword.

Console