File tree Expand file tree Collapse file tree 1 file changed +42
-41
lines changed Expand file tree Collapse file tree 1 file changed +42
-41
lines changed Original file line number Diff line number Diff line change 11<!doctype html>
22< html >
33< head >
4- < meta charset ="utf-8 "/>
5- < title > React Draggable</ title >
6- < style type ="text/css ">
7- body {
8- color : # 222 ;
9- font-family : "Helvetica Neue" , sans-serif;
10- font-weight : 200 ;
11- margin : 0 50px ;
12- }
4+ < meta charset ="utf-8 "/>
5+ < title > React Draggable</ title >
6+ < style type ="text/css ">
7+ body {
8+ color : # 222 ;
9+ font-family : "Helvetica Neue" , sans-serif;
10+ font-weight : 200 ;
11+ margin : 0 50px ;
12+ }
1313
14- .react-draggable , .cursor {
15- cursor : move;
16- }
17- .no-cursor {
18- cursor : auto;
19- }
20- .cursor-y {
21- cursor : ns-resize;
22- }
23- .cursor-x {
24- cursor : ew-resize;
25- }
14+ .react-draggable , .cursor {
15+ cursor : move;
16+ }
17+ .no-cursor {
18+ cursor : auto;
19+ }
20+ .cursor-y {
21+ cursor : ns-resize;
22+ }
23+ .cursor-x {
24+ cursor : ew-resize;
25+ }
2626
27- .react-draggable strong {
28- background : # ddd ;
29- border : 1px solid # 999 ;
30- border-radius : 3px ;
31- display : block;
32- margin-bottom : 10px ;
33- padding : 3px 5px ;
34- text-align : center;
35- }
27+ .react-draggable strong {
28+ background : # ddd ;
29+ border : 1px solid # 999 ;
30+ border-radius : 3px ;
31+ display : block;
32+ margin-bottom : 10px ;
33+ padding : 3px 5px ;
34+ text-align : center;
35+ }
3636
37- .box {
38- background : # fff ;
39- border : 1px solid # 999 ;
40- border-radius : 3px ;
41- width : 150px ;
42- height : 150px ;
43- margin : 10px ;
44- padding : 10px ;
45- float : left;
46- }
47- </ style >
37+ .box {
38+ box-sizing : border-box;
39+ background : # fff ;
40+ border : 1px solid # 999 ;
41+ border-radius : 3px ;
42+ width : 180px ;
43+ height : 180px ;
44+ margin : 10px ;
45+ padding : 10px ;
46+ float : left;
47+ }
48+ </ style >
4849</ head >
4950< body >
5051< script src ="//fb.me/react-with-addons-0.13.2.js "> </ script >
You can’t perform that action at this time.
0 commit comments