Difference between revisions of "Test page"

From Muninn land
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="position: relative; display: inline-block;">
{{#tag:html|
   <img src="/wiki/Special:FilePath/5_cent_italy_2002_obverse.jpg" width="600">
<style>
   <div style="position: absolute; top: 100px; left: 200px; width: 100px; height: 100px; background-color: rgba(255,0,0,0.3); border: 2px solid red;"></div>
  .image-highlight-container {
    position: relative;
    display: inline-block;
  }
 
  .highlight-box {
    position: absolute;
    border: 2px solid red;
    background-color: rgba(255, 0, 0, 0.3);
    display: none;
    pointer-events: none;
    z-index: 10;
  }
 
  .hl1 { top: 140px; left: 250px; width: 80px; height: 80px; }
</style>
}}
 
{{#tag:html|
<div class="image-highlight-container">
   <img src="https://m.muninn.land/images/5/53/5_cent_italy_2002_obverse.jpg" width="600" alt="5 cent Italy obverse">
   <div id="highlight1" class="highlight-box hl1"></div>
</div>
</div>
}}
{{#tag:html|
<p onmouseover="document.getElementById('highlight1').style.display='block';"
  onmouseout="document.getElementById('highlight1').style.display='none';">
  Passa qui per evidenziare zona 1
</p>
}}

Latest revision as of 18:36, 14 March 2025

5 cent Italy obverse

Passa qui per evidenziare zona 1