From Arcanet
Dragondraikk (talk | contribs) No edit summary |
Dragondraikk (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
overflow: hidden; | |||
} | } | ||
.spoilerimage img{ | .spoilerimage img{ | ||
Line 22: | Line 23: | ||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
width: | left: 1%; | ||
width: 97.5%; | |||
text-align: center; | text-align: center; | ||
background-color: darkslategray; | background-color: darkslategray; |
Revision as of 15:33, 20 July 2024
.contentwarning{ color:crimson; } .spoilertext{ color:black; background-color:black; } .spoilertext:hover{ color:white; } .spoilerimage{ position: relative; display: inline-block; overflow: hidden; } .spoilerimage img{ filter:blur(50px); } .spoilerimage img:hover{ filter:blur(0px); } .spoilerimage #warning{ position: absolute; top: 50%; left: 1%; width: 97.5%; text-align: center; background-color: darkslategray; border: groove 2px darkslategray; border-radius: 1em; } .spoilerimage:hover #warning{ display:none; }