File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
learn/backgrounds-borders Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments