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);
|
background-color: var(--fg-muted-1);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: rotate(10deg) scale(1.1);
|
transform: rotate(10deg) scale(1.1);
|
||||||
|
@ -2,7 +2,7 @@ img,
|
|||||||
video {
|
video {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--edge-highlight), var(--shadow);
|
||||||
border-radius: var(--rounded-corner);
|
border-radius: var(--rounded-corner);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user