Better Image Viewer makes image viewing more fun and cooler ๐
Link for testing: https://media.tenor.com/8r-Gk4kA0f4AAAAd/cool-cat.gif
Authorsapondanaisriwan
LicenseCC-BY-SA-4.0
Categorypng|jpg|gif|webp
Created
Updated
Size1.6 kB
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Better Image Viewer makes image viewing more fun and cooler ๐
Link for testing: https://media.tenor.com/8r-Gk4kA0f4AAAAd/cool-cat.gif
Work only on Chromebase
/* ==UserStyle==
@name Better Image Viewer
@namespace https://userstyles.world/user/sapondanaisriwan
@description Better Image Viewer makes image viewing more fun and cool ๐
@author sapondanaisriwan <sapondanaisriwan@gmail.com> (https://github.com/sapondanaisriwan) [Adashima#4066]
@version 1.0.1
@license MIT
@preprocessor stylus
@advanced range customRadius "โ๏ธ Roundness" [0, 0, 50, 1, '%']
@advanced range customBlur "โ๏ธ Blurriness" [15, 0, 25, 1, 'px']
==/UserStyle== */
@-moz-document regexp(".*(\.png|jpg|gif|webp)$") {
/*
Thanks for cubiq#3296 helping me
Test: https://media.tenor.com/8r-Gk4kA0f4AAAAd/cool-cat.gif
*/
/* Variables */
i=!important;
t=transparent;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
&::before {
content: "";
position: absolute;
left: 0;
right: 0;
z-index: -1;
background-image: url();
background-position: center;
background-size: cover;
background-repeat: no-repeat;
filter: blur(customBlur);
-webkit-filter: blur(customBlur);
height: 100vh;
}
> img {
background-color: t i;
/* Centered the image */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: customRadius;
}
}
}