Skip to content

Commit 0a75778

Browse files
CoderMJLeefantasai
authored andcommitted
[css-backgrounds-3] Fix example 15
"background: ... / 10em ... " is equivalent to "background-size: 10em auto;", not "background-size: 10em 10em;".
1 parent 2d89ed2 commit 0a75778

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ body {
12321232
p {
12331233
background-color: gray;
12341234
background-position: 40% 50%;
1235-
background-size: 10em 10em;
1235+
background-size: 10em auto;
12361236
background-repeat: round;
12371237
background-clip: border-box;
12381238
background-origin: border-box;

css-backgrounds-3/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ <h3 class="heading settled" data-level="3.10" id="the-background"><span class="s
13101310
<pre>p {
13111311
background-color: gray;
13121312
background-position: 40% 50%;
1313-
background-size: 10em 10em;
1313+
background-size: 10em auto;
13141314
background-repeat: round;
13151315
background-clip: border-box;
13161316
background-origin: border-box;

0 commit comments

Comments
 (0)