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 {
|
||||
box-shadow: inset 0px 1px 0px 0px #ffffff;
|
||||
background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
|
||||
background-color: #ffffff;
|
||||
box-shadow: inset 0 1px 0 0 #ffffff;
|
||||
background: #ffffff linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
|
||||
border-radius: 6px;
|
||||
border: 1px solid #dcdcdc;
|
||||
display: inline-block;
|
||||
|
@ -12,13 +11,12 @@
|
|||
font-weight: bold;
|
||||
padding: 6px 24px;
|
||||
text-decoration: none;
|
||||
text-shadow: 0px 1px 0px #ffffff;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
outline: 0;
|
||||
}
|
||||
.activebutton {
|
||||
box-shadow: inset 0px 1px 0px 0px #dcecfb;
|
||||
background: linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
|
||||
background-color: #bddbfa;
|
||||
box-shadow: inset 0 1px 0 0 #dcecfb;
|
||||
background: #bddbfa linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
|
||||
border-radius: 6px;
|
||||
border: 1px solid #84bbf3;
|
||||
display: inline-block;
|
||||
|
@ -29,6 +27,6 @@
|
|||
font-weight: bold;
|
||||
padding: 6px 24px;
|
||||
text-decoration: none;
|
||||
text-shadow: 0px 1px 0px #528ecc;
|
||||
text-shadow: 0 1px 0 #528ecc;
|
||||
outline: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue