搜索按钮点击弹出搜索框效果
代码语言:html
所属分类:表单美化
代码描述:搜索按钮点击弹出搜索框效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Varela+Round&display=swap'>
<style>
.search {
--background: #ffffff;
--text-color: #414856;
--primary-color: #4F29F0;
--border-radius: 10px;
--width: 190px;
--height: 55px;
background: var(--background);
width: auto;
height: var(--height);
position: relative;
overflow: hidden;
border-radius: var(--border-radius);
box-shadow: 0 10px 30px rgba(65, 72, 86, 0.05);
display: -webkit-box;
display: flex;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
}
.search input[type="text"] {
position: relative;
width: var(--height);
height: var(--height);
font: 400 16px 'Varela Round', sans-serif;
color: var(--text-color);
border: 0;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0