Skip to content

jainsamyak/css-trail-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make your splash pages stand out with this simple CSS & JS implemented background trail effect.

Getting Started

  1. Clone the github repository.
  2. Open the trail.html file to view the trail effect.

Screenshots

Image 1 Image 2


Inspiration for this repo

This project is an inspiration from the splash page of Canva-Amazingly Simple Graphic Design Software

Customisation

This project was designed keeping in mind the ease of customisation.

To change the background image:

1. Change the url in styles.css
2. Change the background url of div in script.js

To customise the speed of animation(fading of division):

1. Simply change the time in the setTimeout() function in script.js
2. Change the duration in ms in styles.css fadeout animation

Built With

HTML5 
CSS3
JavaScript 

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Special thanks to Eva Darron for the background photo available here from Unsplash.com