Skip to content

Instantly share code, notes, and snippets.

@Gankra
Created April 16, 2019 20:48
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 Gankra/9a2096430552e1881d27a28f732dbe86 to your computer and use it in GitHub Desktop.
Save Gankra/9a2096430552e1881d27a28f732dbe86 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html reftest-async-scroll>
<head>
<style>
body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.header {
background-color: white;
flex: none;
}
.content {
flex: auto;
overflow-y: scroll;
}
.inner-content {
height: 2000px;
}
.shadowy {
text-shadow: 0px 0px 1px green;
}
</style>
</head>
<body>
<div class="header"> Wow, This is a Great Header! </div>
<div class="content" reftest-async-scroll-y="75">
<div class="inner-content">
<p>Wow, This is Great Content!</p>
<p class="shadowy">Wow, This is Great Shadowy Content!</p>
<p>Wow, This is Great Visible Content!</p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment