-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54a5155
commit 5285779
Showing
6 changed files
with
216 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<style lang="postcss" scoped> | ||
h1 | ||
color: red | ||
font-size: 14px | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<style scoped> | ||
.test { | ||
color: yellow; | ||
} | ||
.test:after { | ||
content: 'bye!'; | ||
} | ||
h1 { | ||
color: green; | ||
} | ||
.anim { | ||
animation: color 5s infinite, other 5s; | ||
} | ||
.anim-2 { | ||
animation-name: color; | ||
animation-duration: 5s; | ||
} | ||
.anim-3 { | ||
animation: 5s color infinite, 5s other; | ||
} | ||
.anim-multiple { | ||
animation: color 5s infinite, opacity 2s; | ||
} | ||
.anim-multiple-2 { | ||
animation-name: color, opacity; | ||
animation-duration: 5s, 2s; | ||
} | ||
@keyframes color { | ||
from { color: red; } | ||
to { color: green; } | ||
} | ||
@-webkit-keyframes color { | ||
from { color: red; } | ||
to { color: green; } | ||
} | ||
@keyframes opacity { | ||
from { opacity: 0; } | ||
to { opacity: 1; } | ||
} | ||
@-webkit-keyframes opacity { | ||
from { opacity: 0; } | ||
to { opacity: 1; } | ||
} | ||
.foo p ::v-deep(.bar) { | ||
color: red; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div> | ||
<div><h1>hi</h1></div> | ||
<p class="abc def">hi</p> | ||
<template v-if="ok"><p class="test">yo</p></template> | ||
<svg><template><p></p></template></svg> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { ok: true } | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters