File tree Expand file tree Collapse file tree 3 files changed +44
-7
lines changed Expand file tree Collapse file tree 3 files changed +44
-7
lines changed Original file line number Diff line number Diff line change 9
9
[v-cloak ] {
10
10
display : none;
11
11
}
12
+ .todoapp h2 {
13
+ position : absolute;
14
+ top : -40px ;
15
+ left : 80px ;
16
+ width : 100% ;
17
+ font-size : 20px ;
18
+ font-weight : bold;
19
+ text-align : center;
20
+ color : rgba (175 , 47 , 47 , 0.15 )
21
+ }
12
22
</ style >
13
23
</ head >
14
24
15
25
< body >
16
26
< section class ="todoapp ">
17
27
< header class ="header ">
18
- < h1 > GraphQL todos</ h1 >
28
+ < h1 > todos</ h1 >
29
+ < h2 > GraphQL style</ h2 >
19
30
< input class ="new-todo " autofocus autocomplete ="off " placeholder ="What needs to be done? " v-model ="newTodo "
20
31
@keyup.enter ="addTodo " />
21
32
</ header >
Original file line number Diff line number Diff line change 9
9
[v-cloak ] {
10
10
display : none;
11
11
}
12
+ .todoapp h2 {
13
+ position : absolute;
14
+ top : -40px ;
15
+ left : 80px ;
16
+ width : 100% ;
17
+ font-size : 20px ;
18
+ font-weight : bold;
19
+ text-align : center;
20
+ color : rgba (175 , 47 , 47 , 0.15 )
21
+ }
12
22
</ style >
13
23
</ head >
14
24
15
25
< body >
16
26
< section class ="todoapp ">
17
27
< header class ="header ">
18
- < h1 > REST todos</ h1 >
28
+ < h1 > todos</ h1 >
29
+ < h2 > REST style</ h2 >
19
30
< input class ="new-todo " autofocus autocomplete ="off " placeholder ="What needs to be done? " v-model ="newTodo "
20
31
@keyup.enter ="addTodo " />
21
32
</ header >
Original file line number Diff line number Diff line change 4
4
< head >
5
5
< title > TodoMVC</ title >
6
6
< script src ="https://unpkg.com/vue "> </ script >
7
- < link rel ="stylesheet " type ="text/css " href ="https://unpkg.com/todomvc-app-css@2.2.0/index.css " />
7
+ < link rel ="stylesheet " type ="text/css " href ="https://unpkg.com/todomvc-app-css@2.2.0/index.css " />
8
+ < style >
9
+ li .todo {
10
+ text-align : center
11
+ }
12
+ li .todo label {
13
+ padding-left : 15px
14
+ }
15
+ li .todo label a {
16
+ text-decoration : none;
17
+ color : inherit;
18
+ }
19
+ li .todo label a : hover {
20
+ text-decoration : underline;
21
+ }
22
+ </ style >
8
23
</ head >
9
24
10
25
< body >
11
26
< section class ="todoapp ">
12
27
< header class ="header ">
13
- < h1 > todos </ h1 >
28
+ < h1 > TodoMVC </ h1 >
14
29
</ header >
15
30
< section class ="main ">
16
- < ul >
17
- < li > < a href ="client-rest.html "> Go to the REST Sample</ a > </ li >
18
- < li > < a href ="client-graphql.html "> Go to the GraphQL Sample</ a > </ li >
31
+ < ul class =" todo-list " >
32
+ < li class =" todo " > < label > < a href ="client-rest.html "> Go to the REST Sample</ a > </ label > </ li >
33
+ < li class =" todo " > < label > < a href ="client-graphql.html "> Go to the GraphQL Sample</ a > </ label > </ li >
19
34
</ ul >
20
35
</ section >
21
36
</ section >
You can’t perform that action at this time.
0 commit comments