Skip to content

Commit

Permalink
[#123] bugfix: add transition
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieyeon committed Feb 18, 2022
1 parent 6030552 commit e88d331
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/statics/css/meetingroom.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/meetingroom.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/statics/scss/meetingroom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,8 @@
height: 0;
overflow: hidden;
padding-bottom: 72%;
// padding: 1.1rem 1.5rem;
transition: all 0.2s linear;
& img {
position: absolute;
width: 100%;
Expand All @@ -817,6 +819,11 @@
border-radius: 3px;
}
}
.meetingroom-card__img:hover {
transform: scale(1.03);
box-shadow: 0px 0px 5px 1px rgba(104, 105, 172, 0.25);
transition: all 0.5s ease 0s;
}
.meetingroom-card__img__headcount {
padding: 0 0.5rem;
position: absolute;
Expand Down

0 comments on commit e88d331

Please sign in to comment.