Skip to content

Files

Latest commit

a8ec0aa · Sep 28, 2021

History

History
21 lines (14 loc) · 607 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 607 Bytes

Backstretch

Backstretch is a javascript package to make it easy for you to create a background with a specific image that you define, and it doesn't require jquery to use it.

Installation

clone this repository and paste codes below in your html code

<script src="/backstretch.js"></script>
<script>
  backstretch('YOUR_IMAGE_HERE')
</script>

Make sure the image you set is based on the root directory

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.