58 CSS Modal Windows

220 阅读7分钟
原文链接: freefrontend.com

58 CSS Modal Windows

Collection of HTML, CSS and JavaScript modal windows. Update of May 2018 collection. 5 new items.


Author

  • Lasse Diercks

Made with

  • HTML / CSS (SCSS)

About the code

CSS Only Popup

Simple popup in HTML and CSS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Mikael Ainalem

Made with

  • HTML / CSS

About the code

Material UI Popup

Easing is not easy! However, with the right easing from the Material Design guidelines, you get punchy and snappy animations.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Timothy Long

Made with

  • HTML / CSS (SCSS)

About the code

Modal

Basic CSS-only modal window.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: font-awesome.css

Author

  • Mert Cukuren

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Login Modal

Modal login form in HTML, CSS and JavaScript.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Thibaud Goiffon

Made with

  • HTML / CSS

About the code

Fancy Pop-Up

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Pop-up Design

Author

  • fajjet

Made with

  • HTML/Pug
  • CSS/Less

About the code

Pop-up Design

Pure CSS pop-up design with animation.

Demo image: Folding Modal

Author

  • Blake Bowen

Made with

  • HTML
  • CSS/SCSS
  • JavaScript (tweenmax.js)

About the code

Folding Modal

Folding modal window with HTML, CSS and JS.

Demo image: CSS Popup

Author

  • Erdem Uslu

Made with

  • HTML
  • CSS/SCSS

About the code

CSS Popup

Pure CSS modal window.

Demo image: Super Simple Easy Modal

Author

  • Joshua Ward

Made with

  • HTML
  • CSS/SCSS
  • JavaScript

About the code

Super Simple Easy Modal

Super simple easy modal with ES6.

Demo Image: CSS Only Popup Animation

Author

  • Stas Melnikov
  • 06.09.2017

Made with

  • HTML
  • CSS

About the code

CSS Only Popup Animation

HTML and CSS popup animation.

Demo Image: PopUp Overlay Animation

Author

  • Chouaib Blgn
  • 11.08.2017

Made with

  • HTML
  • CSS
  • JavaScript (jquery.js)

About the code

PopUp Overlay Animation

Popup overlay using HTML and CSS and JavaScript.

Demo Image: Animate Modal Out From Trigger

Author

  • Popmotion
  • 28.07.2017

Made with

  • HTML
  • CSS/SCSS
  • JavaScript/Babel (popmotion.js)

About the code

Animate Modal Out From Trigger

Animate modal out from trigger with popmotion.js.

Demo Image: Super Easy Totally Cool Modal

Author

  • Joshua Ward
  • 13.07.2017

Made with

  • HTML
  • CSS/SCSS

About the code

Super Easy Totally Cool Modal

Only CSS super easy totally cool modal window.

Demo Image: Move Modal In on Path

Author

  • Chris Coyier
  • 28.06.2017

Made with

  • HTML
  • CSS/SCSS
  • JavaScript

About the code

Move Modal In On Path

Move modal windows in on path with HTML, CSS and JavaScript.

Demo Image: An Onboarding Modal With Vue.js

Author

  • Jase
  • 18.05.2017

Made with

  • HTML
  • CSS/SCSS
  • JavaScript (vue.js)

About the code

An Onboarding Modal With Vue.js

Step through on-boarding (or whatever, really) screens in a modal horizontally or vertically.

Demo Image: React Modal UI
Demo Image: React Modal UI

React Modal UI

Modal UI with HTML, CSS and React.js.
Made by Mike
February 8, 2017

Demo Image: HTML5 Dialog Element
Demo Image: HTML5 Dialog Element

HTML5 Dialog Element

Messing around with HTML5’s dialog element.
Made by Andreas J. Virkus
January 31, 2017

Demo Image: JS Simple Modal Box Snippet
Demo Image: JS Simple Modal Box Snippet

JS Simple Modal Box Snippet

Simple modal box snippet in HTML, CSS and JavaScript.
Made by Tobias Bogliolo
November 5, 2016

Demo Image: Shifting Material Button Modal
Demo Image: Shifting Material Button Modal

Shifting Material Button Modal

Two call-to-action buttons that give context to your modals in a Material Design fashion.
Made by Ettrics
October 8, 2016

Demo Image: Responsive Modal Design
Demo Image: Responsive Modal Design

Responsive Modal Design

Material Design inspired modals. No jQuery required. Responsive.
Made by Ettrics
October 8, 2016

Demo Image: Pure CSS Modal
Demo Image: Pure CSS Modal

Pure CSS Modal

Pure CSS modal window.
Made by Daniel Griffiths
August 24, 2016

Demo Image: ModalX Animated Modal
Demo Image: ModalX Animated Modal

ModalX Animated Modal

Animated modal window with HTML, CSS and JavaScript.
Made by Christopher Bicudo
July 28, 2016

Demo Image: Flat Modal Window
Demo Image: Flat Modal Window

Flat Modal Window

Flat modal window with HTML, CSS and JavaScript.
Made by Dronca Raul
July 15, 2016

Demo Image: Responsive Modal
Demo Image: Responsive Modal

Responsive Modal

Simple responsive modal with HTML, CSS and JavaScript.
Made by Nainoa Shizuru
July 11, 2016

Demo Image: Simplistic Dialog
Demo Image: Simplistic Dialog

Simplistic Dialog

Simplistic dialog with HTML, CSS and JavaScript.
Made by Tristan White
July 9, 2016

Demo Image: No JS Modal Popup Window
Demo Image: No JS Modal Popup Window

No JS Modal Popup Window

Using the ol’ label, checkbox trick to launch a modal window. All CSS. No JavaScript required.
Made by David Conner
July 6, 2016

Demo Image: Another Modal Box
Demo Image: Another Modal Box

Another Modal Box

Yet another modal box!
Made by Valentine
June 29, 2016

Demo Image: CSS Only Modal
Demo Image: CSS Only Modal

CSS Only Modal

A challenge to create a confirm modal without any JavaScript. Probably not usable in production, but still it works.
Made by Kristoffer Östlund
May 1, 2016

Demo Image: Flappy Dialog
Demo Image: Flappy Dialog

Flappy Dialog

HTML, CSS and JavaScript flappy dialog.
Made by Alex
April 15, 2016

Demo Image: Modal With Clip-Path
Demo Image: Modal With Clip-Path

Modal With Clip-Path

Modal that animate opens with animation clip-path. Observe clip-path aren’t hardware accelerated or works in IE anything.
Made by Jonas Sandstedt
April 14, 2016

Demo Image: Modal Window
Demo Image: Modal Window

Modal Window

Modal window with HTML, CSS and JavaScript.
Made by Ophelia Fournier-Laflamme
April 14, 2016

Demo Image: Morph Button To Modal
Demo Image: Morph Button To Modal

Morph Button To Modal

Morph button to modal with React.js
Made by Kyle J. Kress
March 23, 2016

Demo Image: Modal Popup
Demo Image: Modal Popup

Modal Popup

HTML, CSS and JavaScript modal window.
Made by Nastasia
March 23, 2016

Demo Image: Origami Dialog Effect
Demo Image: Origami Dialog Effect

Origami Dialog Effect

The idea is to replace the path of the button container into origami path step by step.
Made by Bhakti Al Akbar
March 4, 2016

Demo Image: Popup / Overlay

Author

  • Fabio Ottaviani
  • 02.03.2016

Made with

  • HTML
  • CSS/SCSS
  • JavaScript (jquery.js)

About the code

Popup/Overlay

Popup/Overlay window in HTMl, CSS and JS.

Demo Image: Modal Interaction With Genie Effect
Demo Image: Modal Interaction With Genie Effect

Modal Interaction With Genie Effect

Inspired by Mac OS X minimize interaction. Built with SVG and Greensock plugin.
Made by Bhakti Al Akbar
March 4, 2016

Demo Image: Simple, Flexible And Responsive Flexbox-Based Modal
Demo Image: Simple, Flexible And Responsive Flexbox-Based Modal

Simple, Flexible And Responsive Flexbox-Based Modal

Flexbox modal example. It’s responsive, easy to integrate and extend, and passes content anattributes. Was looking for a simple approach that was not reliant on any library. Straight CSS/jQuery.
Made by Bryan Chalker
March 1, 2016

Demo Image: Animated Modal Box
Demo Image: Animated Modal Box

Animated Modal Box

HTML, CSS and JavaScript animated modal box.
Made by lefoy
February 21, 2016

Demo Image: Modal Dialog
Demo Image: Modal Dialog

Modal Dialog

Simple modal window equipped with smooth CSS3 transitions. Commonly used for viewing annoyingly important content upon visiting a website.
Made by David Fitas
January 21, 2016

Demo Image: Modal Animation
Demo Image: Modal Animation

Modal Animation

Modal animation with HTML, CSS and JavaScript.
Made by Giana
January 16, 2016

Demo Image: 3D Dialog
Demo Image: 3D Dialog

3D Dialog

3D modal dialog window in HTML/CSS and JavaScript.
Made by Geza Dombi
December 2, 2015

Demo Image: Basic CSS Modal
Demo Image: Basic CSS Modal

Basic CSS Modal

Basic modal window with HTML and CSS.
Made by Timothy Long
December 2, 2015

Demo Image: Modal Window Destroy Concept
Demo Image: Modal Window Destroy Concept

Modal Window Destroy Concept

Modal window destroy concept with HTML, CSS and JavaScript.
Made by LegoMushroom
November 24, 2015

Demo Image: Prompt Dialog With Background Blur
Demo Image: Prompt Dialog With Background Blur

Prompt Dialog With Background Blur

Purely CSS-driven popup dialog with a soothing transition animation and background blur.
Made by Tuomas Hatakka
September 28, 2015

Demo Image: Modal Window
Demo Image: Modal Window

Modal Window

Modal window with HTML, CSS and JavaScript.
Made by Philipp Rappold
August 2, 2015

Demo Image: Pure CSS Modal
Demo Image: Pure CSS Modal

Pure CSS Modal

HTML and CSS modal window.
Made by Mark Holmes
June 25, 2015

Demo Image: Pure CSS Modal + Slider
Demo Image: Pure CSS Modal + Slider

Pure CSS Modal + Slider

Responsive modal dialog using css only, including sliding/carousel content inside the modal.
Made by Marvin Orendain
June 23, 2015

Demo Image: Morphing Modal Window
Demo Image: Morphing Modal Window

Morphing Modal Window

A call-to-action button that animates and turns into a full-size modal window. The final result is powered by a combination of CSS transition and transformations, jQuery and Velocity.js.
Made by CodyHouse
March 12, 2015

Demo Image: Modal Animation Physics
Demo Image: Modal Animation Physics

Modal Animation Physics

Messing around with keyframe/transition physics for a modal. Mostly focused on the timing between the overlay, modal container, and modal content to try to make the whole event look more organic. Believe it or not, inspired by the menu pop-ups in Super Mario 3D.
Made by Tey Tag
February 18, 2015

Demo Image: Swing Out Modal
Demo Image: Swing Out Modal

Swing Out Modal

Fun little modal concept with HTML and CSS.
Made by Michael Smith
February 17, 2015

Demo Image: Push Modal Idea
Demo Image: Push Modal Idea

Push Modal Idea

Neat little way to give your page some depth.
Made by Short
February 4, 2015

Demo Image: Pop-Up With Blurred Background Animation
Demo Image: Pop-Up With Blurred Background Animation

Pop-Up With Blurred Background Animation

Here’s a popup that appears while blurring out the body underneath. click the ‘X’ close on the popup and the blur transition back while the popup fades off. Suitable for sites that may want a nag (perhaps for donation or subscription services) or could be re-purposed as a general modal or lightbox. Uses CSS3 Filter (for blur) and CSS3 Animation for blur transitions. The jQuery is minimal in this iteration, simply used to fade in the pop-up and add and remove the CSS3 classes for blurring.
Made by Benjamin Dalton
December 31, 2014

Demo Image: Simple Dialog Effects
Demo Image: Simple Dialog Effects

Simple Dialog Effects

Simple dialog effects in HTML, CSS and JavaScript.
Made by dodozhang21
December 29, 2014

Demo Image: CSS Only Line Animated Modal
Demo Image: CSS Only Line Animated Modal

CSS Only Line Animated Modal

Modal draws then fades in using SVG & CSS animation.
Made by Tom
December 22, 2014

Demo Image: Pure CSS Animated Modals
Demo Image: Pure CSS Animated Modals

Pure CSS Animated Modals

Animated slide down modal with browser back support. No JS animated slide down modal with tabs. No JS.
Made by Tom
December 8, 2014

Demo Image: Pure CSS Lightbox Technique
Demo Image: Pure CSS Lightbox Technique

Pure CSS Lightbox Technique

Lightbox technique using no javascript whatsoever.
Made by Akhbar
October 1, 2014

Demo Image: Draggable Translucent Modal
Demo Image: Draggable Translucent Modal

Draggable Translucent Modal

Draggable translucent modal with HTML, CSS and JavaScript.
Made by Jesse Couch
September 24, 2014

Demo Image: Simple Confirmation Popup
Demo Image: Simple Confirmation Popup

Simple Confirmation Popup

Simple responsive confirmation dialog box, with a subtle CSS3 entry animation.
Made by Adventures in Missions
July 2, 2014