Skip to content

Commit dd3dd63

Browse files
AlexElinjosephperrott
authored andcommitted
docs: use shorthand background CSS property in Routing example (angular#40834)
PR Close angular#40834
1 parent f4f7c33 commit dd3dd63

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.button {
2-
box-shadow: inset 0px 1px 0px 0px #ffffff;
3-
background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
4-
background-color: #ffffff;
2+
box-shadow: inset 0 1px 0 0 #ffffff;
3+
background: #ffffff linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
54
border-radius: 6px;
65
border: 1px solid #dcdcdc;
76
display: inline-block;
@@ -12,13 +11,12 @@
1211
font-weight: bold;
1312
padding: 6px 24px;
1413
text-decoration: none;
15-
text-shadow: 0px 1px 0px #ffffff;
14+
text-shadow: 0 1px 0 #ffffff;
1615
outline: 0;
1716
}
1817
.activebutton {
19-
box-shadow: inset 0px 1px 0px 0px #dcecfb;
20-
background: linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
21-
background-color: #bddbfa;
18+
box-shadow: inset 0 1px 0 0 #dcecfb;
19+
background: #bddbfa linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
2220
border-radius: 6px;
2321
border: 1px solid #84bbf3;
2422
display: inline-block;
@@ -29,6 +27,6 @@
2927
font-weight: bold;
3028
padding: 6px 24px;
3129
text-decoration: none;
32-
text-shadow: 0px 1px 0px #528ecc;
30+
text-shadow: 0 1px 0 #528ecc;
3331
outline: 0;
3432
}

0 commit comments

Comments
 (0)