Skip to content

Instantly share code, notes, and snippets.

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 MurakamiShinyu/a447a09293b5cc2ada6d45a042c2b628 to your computer and use it in GitHub Desktop.
Save MurakamiShinyu/a447a09293b5cc2ada6d45a042c2b628 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Test: Page Header + Page Bottom Float</title>
<style>
.pagebottomfloat {
float: bottom;
float-reference: page;
}
@page {
@top-center {
content: "Here is page header, Lorem ipsum, dolor sit amet consectetur adipisicing elit";
overflow: visible;
}
}
</style>
</head>
<body>
<p>Here is body text.<span class="pagebottomfloat">This is a page bottom float.</span></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment