CSS
语言:
CSSSCSS
确定
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 112.5%;
line-height: 1.4;
background: url(/backgrounds/subtlepatterns/green_dust_scratch.png) #909ca2;
}
div {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.btn {
background: #113546;
color: #fff;
display: inline-block;
padding: 0.2rem 0.5rem;
margin: 0.5rem;
position: relative;
border-radius: 3px;
text-decoration: none;
cursor: pointer;
box-sizing: border-box;
-webkit-transition: all 0.1s ease-in-ou