Jump to content

User:Anomie/hide-images.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
img {
    visibility:hidden;
}

img.hide-images-handled {
    visibility:visible;
}

span.hide-images-wrapper {
    background:url(//upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Battenburg-white-blue.svg/300px-Battenburg-white-blue.svg.png) repeat;
    background-size:contain;
    outline:2px solid red;
    cursor:pointer;
    display:inline-block;
}

span.hide-images-wrapper img.hide-images-handled {
    visibility:hidden;
}