You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@keyframes \.me { /* ♻️ Looped animation @keyframes can be scoped using \ */
88
75
0% { transform: translateY(0px); }
89
76
50% { transform: translateY(20px); }
90
77
100% { transform: translateY(0px); }
91
78
}
92
-
.me { animation: \.me 2s ease-in-out infinite; }
93
-
h1,h2,h3 { font-size:3rem; margin:20px0; }/* Plain CSS works untouched! */
79
+
/* Plain CSS works untouched! */
80
+
h1, h2, h3 { font-size: 3rem; margin: 20px 0; }
94
81
</style>
95
82
<h1>🛸 Scoped style using .me</h1>
96
83
<ol>
@@ -100,17 +87,17 @@ <h1>🛸 Scoped style using .me</h1>
100
87
<li>⚡ Use live editing in the browser inspector to speed up your workflow, again!
101
88
</ol>
102
89
</div>
103
-
104
-
<buttononClick="window.open('https://github.com/gnat/css-scope-inline/blob/main/example.html');" style="font-weight: bold; font-family: sans-serif;">🐱 View code for this page.</button>
<buttononClick="window.open('https://github.com/gnat/css-scope-inline/blob/main/example.html');" style="font-weight: bold; font-family: sans-serif;">🐱 View code for this page.</button>
0 commit comments