Merge pull request #1355 from harsh26shah03/sample-image-data-styles

Feat : added hover animation to sample data
This commit is contained in:
Adam Argyle
2023-04-04 15:32:50 -07:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@ -319,7 +319,7 @@ export default class Intro extends Component<Props, State> {
class="unbutton"
onClick={(event) => this.onDemoClick(i, event)}
>
<div>
<div class={style.demoContainer}>
<div class={style.demoIconContainer}>
<img
class={style.demoIcon}

View File

@ -321,6 +321,13 @@
}
}
.demo-container {
transition: scale 400ms ease-in-out;
&:hover {
scale: 1.05;
}
}
.demo-size {
background: var(--dim-blue);
border-radius: 1000px;