×

Сохраните ваш код

Если вы нажмете кнопку «Сохранить», ваш код будет сохранен, и вы получите URL, которым вы можете поделиться с другими.

Нажав кнопку «Сохранить», вы соглашаетесь с нашими условиями и положениями.

Сообщить об ошибке

×

Сохранить в Google Drive

Если у вас есть учетная запись Google, вы можете сохранить этот код на Google Диске.

Google попросит вас подтвердить доступ к Google Диску.

×

Открыть с Google Диска

Если вы сохранили файл на Google Диске, вы можете открыть его здесь:

Result Size: 300 x 150
x
 
<!DOCTYPE html>
<html>
<head>
<style>
.flex-container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  font-weight: bold;
  text-align: center;
}
.flex-container > * {
  padding: 10px;
  flex: 1 100%;
}
.main {
  text-align: left;
  background: cornflowerblue;
}
.header {background: coral;}
.footer {background: lightgreen;}
.aside {background: moccasin;}
@media all and (min-width: 768px) {
  .aside { flex: 1 auto; }
  .main    { flex: 3 0px; }
  .aside { order: 1; }
  .main    { order: 2; }
  .footer  { order: 4; }
}
</style>
</head>
<body>
<div class="flex-container">
  <header class="header">Header</header>
  <aside class="aside">Aside</aside>
  <article class="main">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sed ex turpis. Cras luctus nibh lectus, in ullamcorper ex tempor eleifend. Nulla bibendum, eros a consequat vestibulum, orci massa fermentum quam, sed commodo nunc ex vitae nisl. Aliquam ullamcorper interdum est nec tincidunt.</p>
  </article>
  <footer class="footer">Footer</footer>
</div>
</body>
</html>
×

Сообщить о проблеме: