css+svg实现搜索框点击动画效果代码
代码语言:html
所属分类:搜索
代码描述:css+svg实现搜索框点击动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat+Alternates:300,400,500,600" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
<style>
html, body {
font-family: 'Montserrat Alternates', sans-serif;
color: #FFFFFF;
width: 100%;
max-width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
*, *:before, *:after {
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color: rgba(0,0,0,0);
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
box-sizing: border-box;
-webkit-box-sizing: border-box;
padding: 0;
margin: 0;
}
a, a:visited, a:hover {
color: inherit;
text-decoration: none;
}
main {
position: absolute;
top: 0;
left: 0;
margin: 0 auto;
padding: 0 26px;
width: 100%;
height: 100%;
background: rgba(154,57,163,1);
background: -moz-linear-gradient(-45deg, rgba(154,57,163,1) 0%, rgba(65,103,168,1) 100%);
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(154,57,163,1)), color-stop(100%, rgba(65,103,168,1)));
background: -webkit-linear-gradient(-45deg, rgba.........完整代码请登录后点击上方下载按钮下载查看
网友评论0