Skip to content

Commit 5f0cfff

Browse files
committed
missing file
1 parent a7b49a5 commit 5f0cfff

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Backgrounds and Borders: border-radius</title>
6+
<link rel="stylesheet" href="../styles.css" />
7+
<style>
8+
* {
9+
box-sizing: border-box;
10+
}
11+
.box {
12+
width: 500px;
13+
padding: .5em;
14+
}
15+
</style>
16+
17+
<style class="editable">
18+
.box {
19+
border: 10px solid rebeccapurple;
20+
border-radius: 1em;
21+
border-top-right-radius: 10% 30%;
22+
}
23+
24+
25+
</style>
26+
</head>
27+
28+
<body>
29+
<section class="preview">
30+
<div class="box">
31+
<h2>Borders</h2>
32+
<p>Try changing the borders.</p>
33+
</div>
34+
35+
</section>
36+
37+
<textarea class="playable playable-css" style="height: 220px;">
38+
.box {
39+
border: 10px solid rebeccapurple;
40+
border-radius: 1em;
41+
border-top-right-radius: 10% 30%;
42+
}
43+
</textarea>
44+
45+
<textarea class="playable playable-html" style="height: 130px;">
46+
<div class="box">
47+
<h2>Borders</h2>
48+
<p>Try changing the borders.</p>
49+
</div>
50+
</textarea>
51+
52+
<div class="playable-buttons">
53+
<input id="reset" type="button" value="Reset" />
54+
</div>
55+
</body>
56+
<script src="../playable.js"></script>
57+
</html>

0 commit comments

Comments
 (0)