File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
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+
4+ < head >
5+ < meta charset ="utf-8 ">
6+ < title > CSS Solutions: How to add a shadow to text</ title >
7+ < link rel ="stylesheet " href ="styles.css ">
8+ < style >
9+ .wrapper {
10+ height : 150px ;
11+ display : flex;
12+ align-items : center;
13+ justify-content : center;
14+ }
15+
16+ h1 {
17+ font-size : 2em ;
18+ }
19+ </ style >
20+
21+ < style class ="editable ">
22+ h1 {
23+ color : royalblue;
24+ text-shadow : 0px 4px 2px rgba (46 , 91 , 173 , 0.6 );
25+ }
26+
27+ </ style >
28+ </ head >
29+
30+ < body >
31+ < section class ="preview ">
32+ < div class ="wrapper ">
33+ < h1 > Adding a shadow to text</ h1 >
34+ </ div >
35+ </ section >
36+
37+ < textarea class ="playable playable-css " style ="height: 100px; ">
38+ h1 {
39+ color: royalblue;
40+ text-shadow: 0px 4px 2px rgba(46,91,173,0.6);
41+ }
42+ </ textarea >
43+
44+ < textarea class ="playable playable-html " style ="height: 100px; ">
45+ < div class ="wrapper ">
46+ < h1 > Adding a shadow to text</ h1 >
47+ </ div >
48+ </ textarea >
49+
50+ <!-- leave everything below here alone -->
51+ < div class ="playable-buttons ">
52+ < input id ="reset " type ="button " value ="Reset ">
53+ </ div >
54+ </ body >
55+ < script src ="playable.js "> </ script >
56+
57+ </ html >
You can’t perform that action at this time.
0 commit comments