Skip to content

Commit

Permalink
Update example.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat authored Sep 23, 2023
1 parent 5ec1e9c commit 5f8fef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
.self ol li[n2] { /* ✨ .self is an alias! */
background: hsl(264 80% 50%);
}
@keyframes wat { /* ♻️ Looped animation @keyframes can be scoped using \ */
@keyframes \.me { /* ♻️ Looped animation @keyframes can be scoped using \ */
0% { transform: translateY(0px); }
50% { transform: translateY(20px); }
100% { transform: translateY(0px); }
}
.me { animation: \.me 4s ease-in-out infinite; }
.me { animation: \.me 2s ease-in-out infinite; }
h1, h2, h3 { font-size: 3rem; margin: 20px 0; } /* Plain CSS works untouched! */
</style>
<h1>🛸 Scoped style using .me</h1>
Expand Down

0 comments on commit 5f8fef4

Please sign in to comment.