Skip to content

Instantly share code, notes, and snippets.

@thomashandorf
Last active March 15, 2018 10:42
Show Gist options
  • Save thomashandorf/88a493144d15afb8bcb64d084e29cc17 to your computer and use it in GitHub Desktop.
Save thomashandorf/88a493144d15afb8bcb64d084e29cc17 to your computer and use it in GitHub Desktop.
layerJS document structure
<html>
<head>
<script src="https://cdn.layerjs.org/libs/layerjs/layerjs-0.5.2.min.js" defer=""></script>
<link href="https://cdn.layerjs.org/libs/layerjs/layerjs-0.5.2.css" type="text/css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body lj-type="stage">
<div lj-type="layer" id="content-layer" lj-fit-to="responsive-width">
<div lj-type="frame" id="home">
Hello World
</div>
</div>
</body>
</html>
html, body {
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment