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
| <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
@-webkit-keyframes blink {
50% { border-color: #ff0000; border-radius: 50%; }
}
@keyframes blink {
50% { border-color: #ff0000; border-radius: 50%; }
}
#zones_image {
padding: 20px;
border: 5px solid transparent; position:absolute;
margin-top:25px;
margin-left:150px;
}
#zones_image {
animation: blink .5s step-end infinite alternate;
-webkit-animation: blink .5s step-end infinite alternate;
}
@keyframes clignoter {
0% { opacity:1; }
40% {opacity:0; }
100% { opacity:1; }
}
</style>
</head>
<body>
<div id="cadre-image">
<map name="testmap" id="zones_image" >
<!--Transept-->
<area
shape="circle"
coords="320,220,45"
href="https://developer.mozilla.org/"
data-id="developper"
/>
<area
shape="circle"
coords="120,220,45"
href="https://www.developpez.net/forums/d2142737/webmasters-developpement-web/mise-page-css/border-areas/"
data-id="forum"
/>
</map>
<!-- image fond -->
<img id="image-fond" src="plan_eglise.jpg" usemap="#testmap"></div>
</body>
</html> |
Partager