Add edge highlight to images
In case if image is transparent and it's actually visible
This commit is contained in:
@ -62,7 +62,6 @@
|
||||
background-color: var(--fg-muted-1);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
transform: rotate(10deg) scale(1.1);
|
||||
|
@ -2,7 +2,7 @@ img,
|
||||
video {
|
||||
display: block;
|
||||
margin: 1rem auto;
|
||||
box-shadow: var(--shadow);
|
||||
box-shadow: var(--edge-highlight), var(--shadow);
|
||||
border-radius: var(--rounded-corner);
|
||||
max-width: 100%;
|
||||
|
||||
|
Reference in New Issue
Block a user