docs: use shorthand background CSS property in Routing example (#40834)
PR Close #40834
This commit is contained in:
parent
f4f7c33e1f
commit
dd3dd63845
|
@ -1,7 +1,6 @@
|
||||||
.button {
|
.button {
|
||||||
box-shadow: inset 0px 1px 0px 0px #ffffff;
|
box-shadow: inset 0 1px 0 0 #ffffff;
|
||||||
background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
|
background: #ffffff linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
|
||||||
background-color: #ffffff;
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border: 1px solid #dcdcdc;
|
border: 1px solid #dcdcdc;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -12,13 +11,12 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 6px 24px;
|
padding: 6px 24px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-shadow: 0px 1px 0px #ffffff;
|
text-shadow: 0 1px 0 #ffffff;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
.activebutton {
|
.activebutton {
|
||||||
box-shadow: inset 0px 1px 0px 0px #dcecfb;
|
box-shadow: inset 0 1px 0 0 #dcecfb;
|
||||||
background: linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
|
background: #bddbfa linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
|
||||||
background-color: #bddbfa;
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border: 1px solid #84bbf3;
|
border: 1px solid #84bbf3;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -29,6 +27,6 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 6px 24px;
|
padding: 6px 24px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-shadow: 0px 1px 0px #528ecc;
|
text-shadow: 0 1px 0 #528ecc;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue