Press "Enter" to skip to content

Simple Lightbox Modal Window With HTML and CSS Animations

Lightbox Pure CSS is the simplest CSS solution for creating a sliding modal window with CSS3 animations. Without checkbox/radio/label hack. Smooth animations based on CSS transformations and transitions.

modal popup in html, javascript modal popup, bootstrap modal popup example, css modal popup, how to create popup in html with css, jquery modal popup

How to make use of it:

1. Load the modal.css base style sheet in the header section of the document.

<link rel="stylesheet" href="css/modal.css">

2. Create the modal window with a close link.

<div class="modal" id="lightbox">
  <div class="modal-container">
    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
    <a href="#">Close</a>
  </div>
</div>

3. Create a link to launch the modal window.

<a href="#lightbox">CLICK ME</a>

simplest modal window, lightbox pure css Plugin/Github


See Demo And Download

Official Website(louierosero): Click Here

This superior jQuery/javascript plugin is developed by louierosero. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.