Skip to content

Commit

Permalink
Merge pull request GoogleChromeLabs#1355 from harsh26shah03/sample-im…
Browse files Browse the repository at this point in the history
…age-data-styles

Feat : added hover animation to sample data
  • Loading branch information
argyleink authored Apr 4, 2023
2 parents a930e8d + 6b6e372 commit 6cb64a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/prerendered-app/Intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
7 changes: 7 additions & 0 deletions src/shared/prerendered-app/Intro/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6cb64a5

Please sign in to comment.