Creating an overlay effect simply means putting two div together at the same place but both the div appear when needed i.e while hovering or while clicking on one of the div to make the second one appear. Overlays are very clean and give the webpage a tidy look. It looks sophisticated and is simple to design. Overlays can create using two simple CSS properties:
Note: Customize the overlay effects by adding more CSS to the page to make it look more elegant.
- How to insert HTML content into an iFrame using jQuery?
- How to use jQuery in Angular ?
- How do you get the length of a string in JQuery?
- How to add innerHTML to print page?
- HTML | cite attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.