其他分享
首页 > 其他分享> > fixed

fixed

作者:互联网

CSS

.mobile{
	position:fixed;
	bottom:20px;
	right:20px;
	width:50px;
	height:50px;
	background-size:cover;
	z-index:999;
	background:darkblue;
	border-radius:50%;
	padding:8px;
	opacity:0.6;
}

HTML

<a class="mobile" href="tel:xxxxxxxxxxx">
	<img src="mobile.png" width="34" height="34"/>
</a>

标签:right,50px,height,background,20px,fixed
来源: https://www.cnblogs.com/sunr/p/16671901.html