Skip to content

Commit 7cb6e5b

Browse files
author
marcj
committed
Made it firefox compatible.
1 parent ff1ae4d commit 7cb6e5b

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

index.html

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,26 @@
146146
}
147147
}
148148

149+
@-moz-keyframes anim {
150+
0% {
151+
padding: 50px;
152+
width: 50%;
153+
background-color: gray;
154+
}
155+
156+
50% {
157+
padding: 10px;
158+
width: 40%;
159+
background-color: #806522;
160+
}
161+
162+
100% {
163+
padding: 50px;
164+
width: 50%;
165+
background-color: gray;
166+
}
167+
}
168+
149169
</style>
150170
</head>
151171
<body>
@@ -266,9 +286,11 @@ <h3>Example CSS</h3>
266286
<span class="p">}</span>
267287
</pre></div>
268288

269-
<p>Include then the javascript file at the bottom and you're good to go. No custom javascript calls needed.</p>
289+
<p>Include then these javascript files at the bottom and you're good to go. No custom javascript calls needed.</p>
270290

271-
<div class="highlight highlight-html"><pre><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">"src/ElementQueries.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
291+
<div class="highlight highlight-html">
292+
<pre><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">"src/ResizeSensor.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
293+
<span class="nt">&lt;script </span><span class="na">src=</span><span class="s">"src/ElementQueries.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
272294
</pre></div>
273295

274296
<h2>

0 commit comments

Comments
 (0)