Skip to content

Commit 03209e4

Browse files
committed
Live code fixing
1 parent edb8e95 commit 03209e4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

css3/basic-css-selectors/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ <h3>Pseudo-class</h3>
246246
}</code></pre>
247247
</article>
248248
<article>
249-
<header class="css-property title">:first y :last</header>
249+
<header class="css-property title">:first-child y :last-child</header>
250250
<p>Selecciona el primer o último hijo.</p>
251251
<div class="css-element">
252252
<div class="button-group">
@@ -258,11 +258,11 @@ <h3>Pseudo-class</h3>
258258
</div>
259259
</div>
260260
<pre><code class="html">&lt;div class=&quot;button-group&quot;&gt;
261-
&lt;div class=&quot;button&quot;&gt;Primero&lt;/div&gt;
262-
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
263-
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
264-
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
265-
&lt;div class=&quot;button&quot;&gt;&Uacute;ltimo&lt;/div&gt;
261+
&lt;div class=&quot;button&quot;&gt;Primero&lt;/div&gt;
262+
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
263+
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
264+
&lt;div class=&quot;button&quot;&gt;Otro&lt;/div&gt;
265+
&lt;div class=&quot;button&quot;&gt;&Uacute;ltimo&lt;/div&gt;
266266
&lt;/div&gt;</code><code class="css">.button-group .button {
267267
display: inline;
268268
background-color: #007bff;

css3/box-model/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h3 class="css-property">Box Size</h3>
5656
</div>
5757
<p>
5858
Calcular el área total del elemento anterior. <span class="hover-to-show">Hover para ver la solución!</span>
59-
<span class="css-property">width: 360px; height: 160px;</span>
59+
<span class="css-property">width: 420px; height: 220px;</span>
6060
</p>
6161
</section>
6262
</body>

css3/z-index/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ <h3 class="css-property">z-index: &lt;entero&gt;;</h3>
6161
Este elemento tiene <span class="css-property">position: relative;</span>
6262
</p>
6363
<div class="css-element absolute-1">
64-
1) Primer elemento con <div class="css-property">postition: absolute; z-index: 1;</div>
64+
1) Primer elemento con <div class="css-property">postition: absolute; z-index: 3;</div>
6565
</div>
6666
<div class="css-element absolute-2">
6767
2) Segundo elemento con <div class="css-property">postition: absolute; z-index: 2;</div>
6868
</div>
6969
<div class="css-element absolute-3">
70-
3) Tercer elemento con <div class="css-property">postition: absolute; z-index: 3;</div>
70+
3) Tercer elemento con <div class="css-property">postition: absolute; z-index: 1;</div>
7171
</div>
7272
</div>
7373
<p>
@@ -79,13 +79,13 @@ <h3 class="css-property">z-index: &lt;entero&gt;;</h3>
7979
Este elemento tiene <span class="css-property">position: relative;</span> y establece un nuevo contexto de apilamiento con <span class="css-property">z-index: 0;</span>
8080
</p>
8181
<div class="css-element absolute-1">
82-
1) Primer elemento con <div class="css-property">postition: absolute; z-index: 1;</div>
82+
1) Primer elemento con <div class="css-property">postition: absolute; z-index: 3;</div>
8383
</div>
8484
<div class="css-element absolute-2">
8585
2) Segundo elemento con <div class="css-property">postition: absolute; z-index: 2;</div>
8686
</div>
8787
<div class="css-element absolute-3">
88-
3) Tercer elemento con <div class="css-property">postition: absolute; z-index: 3;</div>
88+
3) Tercer elemento con <div class="css-property">postition: absolute; z-index: 1;</div>
8989
</div>
9090
</div>
9191
<div class="css-element outer">

0 commit comments

Comments
 (0)