I'm trying to open a simple modal using HTML:
.modal:target {
opacity: 1;
pointer-events: auto;
}
.modal > div {
width: 400px;
position: relative;
margin: 10% auto;
padding: 15px 20px;
background: #fff;
}
<html>
<head></head>
<body>
<a href="#Modal">Visualizar tabelas usadas</a>
<div id="Modal" class="modal">
<a href="#fechar" title="Fechar" class="fechar">x</a>
<h2>Janela Modal</h2>
<p>Só teste top</p>
</div>
</body>
</html>
But the same thing only returns the text, not a fashion.