Skip to content

Commit

Permalink
chore(create-vite): added transition to grow back drop in (vitejs#11392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexy32 authored and futurGH committed Feb 26, 2023
1 parent a0f0e0f commit 659fbec
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-vite/template-lit-ts/src/my-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class MyElement extends LitElement {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-lit/src/my-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class MyElement extends LitElement {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-react-ts/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-react/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-svelte-ts/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-svelte/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-vanilla-ts/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ h1 {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-vanilla/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ h1 {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-vue-ts/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import HelloWorld from './components/HelloWorld.vue'
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down
1 change: 1 addition & 0 deletions packages/create-vite/template-vue/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import HelloWorld from './components/HelloWorld.vue'
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
Expand Down

0 comments on commit 659fbec

Please sign in to comment.