Skip to content

Instantly share code, notes, and snippets.

@saintsGrad15
Created September 19, 2022 16:20
Show Gist options
  • Save saintsGrad15/95eba4927a3f45d000621844afa5eb34 to your computer and use it in GitHub Desktop.
Save saintsGrad15/95eba4927a3f45d000621844afa5eb34 to your computer and use it in GitHub Desktop.
Verify you are seeing the full height of an element
background-color: white;
background-image: url("ruler-vertical.png"); /* Use any image for which being able to see the top and bottom would be easy. */
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
background-attachment: local; */ Ensures the image will fill the height and scroll with content. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment