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