Gracias!
HTML:
Código HTML:
<div id="openModal" class="modalDialog"> <div> <a href="#close" title="Cerrar" class="close">X</a> <p class="texto">Sí, de acuerdo al <a href="http://leafletjs.com/"</a> texto después del link</p> </div> </div>
CSS:
Código:
.modalDialog { position: fixed; font-family: Arial, Helvetica, sans-serif; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.4); z-index: 99999; opacity:0; -webkit-transition: opacity 400ms ease-in; -moz-transition: opacity 400ms ease-in; transition: opacity 400ms ease-in; pointer-events: none; } .modalDialog:target { opacity:1; pointer-events: auto; } .modalDialog > div { width: 400px; position: relative; margin: 10% auto; padding: 5px 20px 13px 20px; border-radius: 4px; /*10px*/ background: #fff; }