Skip to content

Commit a189b26

Browse files
Fixed Hover state missing (#983) (#1008)
* Fixed Hover state missing (#983) * Update ApiGallery.module.css * Update ApiGallery.module.css --------- Co-authored-by: Beier (Bill) <[email protected]>
1 parent 98efa1d commit a189b26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/ApiGallery.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@
3737
border: 1px solid var(--color-light-blue);
3838
position: relative;
3939
padding-bottom: 30px;
40+
transition: transform 0.3s ease;
4041
}
4142

4243
.gallery li:hover {
4344
border: 1px solid var(--color-secondary);
45+
outline-width: 0;
46+
box-shadow: 2px 2px 0 4px #000;
47+
transform: translate(-2px,-2px);
4448
}
4549

4650
.gallery li a {

0 commit comments

Comments
 (0)