CSS
语言:
CSSSCSS
确定
.btn--yp {
position: fixed;
z-index: 9;
bottom: 1rem;
right: 1rem;
border: solid 1rem transparent;
width: 4.625rem;
height: 3.25rem;
background: url(/uploads/1705/icon-play.svg) 50%/cover content-box;
text-indent: 200vw;
text-shadow: none;
filter: grayscale(1) drop-shadow(0 0 1px #e8e0e0);
transition: .5s;
white-space: nowrap;
}
.btn--yp:before {
position: absolute;
left: 0;
bottom: 100%;
margin: 1rem -.5rem;
padding: .5rem;
width: 100%;
border-radius: 5px;
background: #e8e0e0;
color: #000;
font: 1rem/1.25rem trebuchet ms, sans-serif;
text-align: center;
text-decoration: none;
text-indent: 0vw;
white-space: normal;