Responsive Pure CSS Modal

gravatar
CSS 2/3, Modalcss
Snippet by Anon
628 0
Resources
<a href="#popup"><h1 align="center">Open Modal</h1></a>
<div id="popup" class='modal' role="dialog" aria-labelledby="Modal title" aria-describedby="Modal description">
		<div class="modal-content">
			<div class="header">
				 <a href="#" id="close">
					 <div class="box box3">
					  <svg viewbox="0 0 40 40">
					    <path class="close-x" d="M 10,10 L 30,30 M 30,10 L 10,30" />
					  </svg>
					</div>
				</a>
				<h2>Projects</h2>

			</div>
			<div class="copy">
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.</p>
            </div>
</div>
<a href="#"><div class="overlay"></div></a>
</div>

<a href="#popup_N"><h1 align="center">Open Modal_N</h1></a>
<div id="popup_N" class='modal' role="dialog" aria-labelledby="Modal title" aria-describedby="Modal description">
		<div class="modal-content">
			<div class="header">
			<a href="#" id="close">
				 <div class="box box3">
					  <svg viewbox="0 0 40 40">
					    <path class="close-x" d="M 10,10 L 30,30 M 30,10 L 10,30" />
					  </svg>
				</div>
			</a>
			<h2>Modal #N</h2>

		</div>
		<div class="copy">
		<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.</p>
            </div>
</div>
<a href="#"><div class="overlay"></div></a>
</div>

<a href="#popup_video"><h1 align="center">Open Modal_Video</h1></a>
<div id="popup_video" class='modal' role="dialog" aria-labelledby="Modal title" aria-describedby="Modal description">
		<div class="modal-content">
			<div class="header">
				<a href="#" id="close">
					 <div class="box box3">
					  <svg viewbox="0 0 40 40">
					    <path class="close-x" d="M 10,10 L 30,30 M 30,10 L 10,30" />
					  </svg>
					</div>
				</a>
				<h2>Modal Video</h2>

			</div>
			<div class="copy">
				<div class="video">
                		<iframe width="560" height="315" src="https://www.youtube.com/embed/Pib8eYDSFEI" frameborder="0"></iframe>
                	</div>

            	</div>
</div>
<a href="#"><div class="overlay"></div></a>
</div>

                        

                        

{} CSS Resources


http://doodlenerd.com/Uploads/Resources/2018/08/O8OvSmClYmo/css/modal.min.css