MediaWiki:Common.css: Difference between revisions
Hover image for item box template
>Abcboy mNo edit summary |
FloofyPlasma (talk | contribs) (Hover image for item box template) Tag: Reverted |
||
Line 13: | Line 13: | ||
{ | { | ||
display: none !important; | display: none !important; | ||
} | |||
.hover-image { | |||
position: relative; | |||
display: inline-block; | |||
} | |||
.hover-image img.default { | |||
display: block; | |||
} | |||
.hover-image img.hover { | |||
display: none; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
} | |||
.hover-image:hover img.default { | |||
display: none; | |||
} | |||
.hover-image:hover img.hover { | |||
display: block; | |||
} | } |