CSS动画效果个人练习第十四天
Html源代码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>button</title>
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<label>
<input type="checkbox" name="">
<span class="btn"></span>
<i class="fa fa-power-off"></i>
</label