Line 5:
Line 5:
<img class="image2" src="[[:File:Charm_nobg.png|200px]]" />
<img class="image2" src="[[:File:Charm_nobg.png|200px]]" />
</div>
</div>
−
.parent {
+
<style>
−
position: relative;
+
.container {
−
top: 0;
+
position: relative;
−
left: 0;
+
width: 500px;
−
}
+
height: 500px;
−
+
}
−
.image1 {
+
−
position: relative;
+
.image1 {
−
top: 0;
+
position: absolute;
−
left: 0;
+
top: 0;
−
border: 1px solid #000000;
+
left: 0;
−
}
+
z-index: 1;
−
+
}
−
.image2 {
+
−
position: absolute;
+
.image2 {
−
top: 30px;
+
position: absolute;
−
left: 30px;
+
top: 0;
−
border: 1px solid #000000;
+
left: 0;
−
}
+
z-index: 2;
+
}
+
</style>
}}
}}