Skip to content

Instantly share code, notes, and snippets.

@DriginCode
DriginCode / index.html
Created October 16, 2016 12:11
start-html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Заголовок</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="favicon.png" />
<link rel="stylesheet" href="css/fonts.css" />
<link rel="stylesheet" href="css/main.css" />
@DriginCode
DriginCode / index.html
Created October 6, 2016 20:39
begin code
<div id="wrap">
<header style="background: blue;">
<div class="container">
header
</div>
</header>
<section style="background: green;">
<div class="container">
content
</div>
@DriginCode
DriginCode / style.css
Created October 6, 2016 20:30
прижимаем подвал к низу странницы
/* Прижимаем футер вниз */
html,
body {
height: 100%;
}
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;