Skip to content

Instantly share code, notes, and snippets.

@Jared314
Last active August 29, 2015 13:56
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 Jared314/8876538 to your computer and use it in GitHub Desktop.
Save Jared314/8876538 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
#fixednode { background-color: red; color: white; }
#item1 { background-color: blue; color: white; }
</style>
<style type="text/x-pbpl">
#item1 {
spring: left body left;
spring: right body right;
spring: top #fixednode bottom;
spring: bottom body bottom;
}
</style>
</head>
<body>
<div id="fixednode">Fixed DOM node</div>
<div id="item1">Item 1</div>
<script type="text/javascript" src="pbpl.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment