Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Create a Modal Window with CSS

Rina Cheah
PLUS
Rina Cheah
Courses Plus Student 13,900 Points

How to create multiple modal popup with CSS?

Is there a way to use the "Create a Modal Window Popup with CSS" to make multiple modal window popups?

1 Answer

Kristopher Van Sant
PLUS
Kristopher Van Sant
Courses Plus Student 18,830 Points

You can indeed have multiple modals! The following post on Stack overflow shows someone trying to do just that. http://stackoverflow.com/questions/13887496/multiple-css-modal-boxes

And then here is the jsfiddle used in an answer, to show the two working modals http://jsfiddle.net/3Vykc/