Skip to content

Commit 40cdcf4

Browse files
authored
1 parent ded5b06 commit 40cdcf4

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

learn/tasks/backgrounds/backgrounds2.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,19 @@ <h2>Backgrounds &amp; Borders</h2>
3434
</section>
3535

3636
<textarea class="playable playable-css" style="height: 220px;">
37-
.box {
38-
39-
}
4037

41-
h2 {
42-
43-
}
38+
.box {
39+
border: 5px solid lightblue;
40+
border-top-left-radius: 20px;
41+
border-bottom-right-radius: 40px;
42+
}
43+
44+
h2 {
45+
text-align: center;
46+
background-image: url(star.png), url(star.png), url(star.png), url(star.png);
47+
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
48+
background-position: left, right, top right, bottom right;
49+
}
4450
</textarea>
4551

4652
<textarea class="playable playable-html" style="height: 130px;">

0 commit comments

Comments
 (0)