Html
    Css
    Js

    
                        
body,html {
	height:100%;
}
body {
	margin:0;
	width:100%;
	display:flex;
	justify-content:center;
	align-items:center;
}
.btn {
	width:100px;
	height:100px;
	border-radius:50%;
	background:#208cf1;
	filter:url("#shadowed-goo");
	position:relative;
	cursor:pointer;
	display:flex;
	justify-content:center;
	align-items:center;
}
.ball {
	display:inline-block;
	width:100%;
	height:100%;
	background:#208cf1;
	border-radius:50%;
	position:absolute;
	left:0;
	top:0;
	opacity:1;
}
.text {
	position:relative;
	z-index:5;
	color:white;
	font-weight:bold;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

水滴按钮效果

0