Skip to content

Commit e88d331

Browse files
committed
[#123] bugfix: add transition
1 parent 6030552 commit e88d331

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/statics/css/meetingroom.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/statics/css/meetingroom.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/statics/scss/meetingroom.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,8 @@
808808
height: 0;
809809
overflow: hidden;
810810
padding-bottom: 72%;
811+
// padding: 1.1rem 1.5rem;
812+
transition: all 0.2s linear;
811813
& img {
812814
position: absolute;
813815
width: 100%;
@@ -817,6 +819,11 @@
817819
border-radius: 3px;
818820
}
819821
}
822+
.meetingroom-card__img:hover {
823+
transform: scale(1.03);
824+
box-shadow: 0px 0px 5px 1px rgba(104, 105, 172, 0.25);
825+
transition: all 0.5s ease 0s;
826+
}
820827
.meetingroom-card__img__headcount {
821828
padding: 0 0.5rem;
822829
position: absolute;

0 commit comments

Comments
 (0)