1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
| <html lang="fr">
<head>
<title>test pop up</title>
<meta charset="utf-8">
<meta name="robots" content="noindex"/>
<script src="js.js"></script>
<style type="text/css">
body {
background-color: #CCC;
font-family: 'Oswald', sans-serif;
color: #000;
}
a {
cursor: pointer;
}
.advert-once {
position: fixed;
width: 700px;
bottom: 20px;
right: 20px;
left: 20px;
top: 20px;
display: none;
margin: auto;
background-color: #FFF;
-webkit-background-size: cover;
background-size: cover;
padding: 20px;
z-index: 2;
}
.masque {
background-color: rgba(9, 113, 210, 0.5);
position: absolute;
top: 0px;
left: 0px;
width: 100vw;
height: 100vh;
overflow: hidden;
display: none;
z-index: 1;
}
.advert-button {
position: relative;
width: 18px;
height: 18px;
float: right;
background-color: red;
color: white;
border-radius: 50%;
cursor: pointer;
top: -29px;
right: -29px;
font-weight: bold;
text-align: center;
}
#reset-session,
#refresh-page {
display: block;
width: 250px;
text-align: center;
font-family: 'Oswald', sans-serif;
border-radius: 5px;
border: none;
padding: 2px 5px;
cursor: pointer;
background-color: #ddd;
margin: 5px 0;
}
#reset-session:hover,
#refresh-page:hover {
background-color: #f96e5b;
}
@media only screen and (max-width: 600px) {
#advert-once {
width: 90%;
height: 400px;
-webkit-background-size: 215%;
background-size: 215%;
}
}
</style>
</head>
<body>
<div class="masque"></div>
<!--POP UP 1 °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°-->
<div>
<a style="background-color: white;color: black;padding: 10px 15px;display: inline-block;">Lire son mail</a>
<div class="advert-once">
Cette pop-up marche, elle s'affiche.
<div class="advert-button">X</div>
</div>
</div>
<!--FIN POP UP °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°--><br><br><br><br>
<!--POP UP 2 °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°-->
<div>
<a style="background-color: white;color: black;padding: 10px 15px;display: inline-block;">Compte rendu</a>
<div class="advert-once">
Celle-ci aussi s'affiche à présent ;) !
<div class="advert-button">X</div>
</div>
</div><br /><br />
</body> |
Partager