Skip to content

Instantly share code, notes, and snippets.

@teazean
Created December 19, 2017 01:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teazean/4b6fe9b518f80ed724f569dd7237009b to your computer and use it in GitHub Desktop.
Save teazean/4b6fe9b518f80ed724f569dd7237009b to your computer and use it in GitHub Desktop.
JS Bin [] // source http://jsbin.com/naxumeluru
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.outer {
position: relative;
width: 400px;
height: 600px;
background: red;
}
.inner {
position: absolute;
bottom: 0px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner">
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
</div>
</div>
<script id="jsbin-source-css" type="text/css">.outer {
position: relative;
width: 400px;
height: 600px;
background: red;
}
.inner {
position: absolute;
bottom: 0px;
}</script>
</body>
</html>
.outer {
position: relative;
width: 400px;
height: 600px;
background: red;
}
.inner {
position: absolute;
bottom: 0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment