Skip to content

jfromell/overlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

The overlay is contained in a div with a class of "overlayer"

<div class="overlayer">
  <!-- Overlay content here -->
</div>

Add a button with the "data-dismiss" attribute set to "overlayer" inside the "overlayer" container to add a button to close the overlay

<div class="overlayer">
  <button data-dismiss="overlayer">x</button>
</div>

Finally add a button with the "data-toggle" attribute set to "overlayer" to trigger the display of the overlay

<button data-toggle="overlayer">Click me!</button>

And you are ready to go!

About

Real neat fullscreen overlays with transitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published