Skip to content

Instantly share code, notes, and snippets.

@yaakaito
Last active December 22, 2015 10:58
Show Gist options
  • Save yaakaito/6462249 to your computer and use it in GitHub Desktop.
Save yaakaito/6462249 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<meta charset="utf8" />
<title>めにゅ〜</title>
<style>
header {
width: 100%;
height: 44px;
position: fixed;
top: 0;
left: 0;
background-color: #999;
z-index: 999;
}
article {
margin: 44px 0;
position:relative;
z-index: 99;
}
footer {
width: 100%;
height: 44px;
position: fixed;
bottom: 0;
left: 0;
background-color: #999;
z-index: 999;
}
</style>
</head>
<header>
へっだー
</header>
<article>
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
ぼでぃいいいいいい<br />
</article>
<footer>
ふったー
</footer>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment