css实现立体带阴影搜索框效果代码

代码语言:html

所属分类:搜索

代码描述:css实现立体带阴影搜索框效果代码

代码标签: css 立体 阴影 搜索框

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        @import url("https://fonts.googleapis.com/css?family=Lato:300,700");
	body {
	background:#81CCE8;
}
.search-box {
	display:flex;
	justify-content:center;
	align-items:center;
	height:100vh;
}
input[type=search] {
	box-shadow:10px 10px 4px rgba(0,0,0,0.4);
	background:#ffffff;
	border:2px solid #e7693b;
	outline:none;
	width:250px;
	height:50px;
	border-radius:15px 0 0 15px;
	font-size:1.4em;
	font-weight:300;
	padding:0px 10px;
	font-family:"Lato",sans-serif;
	letter-spacing:2px;
	text-transform:uppercase;
	color:#e7693b;
}
::placeholder {
	color:#81CCE8;
	font-size:.8em;
}
.search-btn {
	box-shadow:10px 10px 4px rgba(0,0,0,0.4);
	height:50px;
	width:55px;
	outline:n.........完整代码请登录后点击上方下载按钮下载查看

网友评论0