File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en-us ">
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < title > CSS basic UI module sample</ title >
7+ < style >
8+ body {
9+ font-family : sans-serif;
10+ font-size : 1.25rem ;
11+ }
12+ [contenteditable ] {
13+ cursor : copy;
14+ caret-color : magenta;
15+ border : 1px solid # ccc ;
16+ }
17+ : focus {
18+ outline : dashed magenta 3px ;
19+ outline-offset : 10px ;
20+ }
21+ * {
22+ accent-color : magenta;
23+ }
24+ div , fieldset {
25+ margin : 20px ;
26+ }
27+ textarea : nth-of-type (1 ) {
28+ cursor : wait;
29+ }
30+ textarea : nth-of-type (2 ) {
31+ resize : none;
32+ }
33+ textarea : nth-of-type (3 ) {
34+ pointer-events : none;
35+ }
36+ </ style >
37+ </ head >
38+ < body >
39+ < div > < span contenteditable > Edit this text </ span > </ div >
40+ < fieldset > < legend > Play with these fake form controls</ legend >
41+ < input type ="checkbox " id ="check ">
42+ < input type ="radio " name ="a ">
43+ < input type ="radio " name ="a ">
44+ < input type ="range ">
45+ < progress >
46+ </ fieldset >
47+ < fieldset >
48+ < legend > Be careful not to ruin usability: try resizing these.</ legend >
49+ < textarea >
50+ cursor: wait;
51+ </ textarea >
52+ < textarea >
53+ resize: none;
54+ </ textarea >
55+ < textarea >
56+ pointer-events: none;
57+ </ textarea >
58+ </ fieldset >
59+ </ body >
60+ </ html >
You can’t perform that action at this time.
0 commit comments