css实现立体清爽阴影按钮输入框效果代码
代码语言:html
所属分类:表单美化
代码描述:css实现立体清爽阴影按钮输入框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
html {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-top: 40px;
background-color: #F7F9FC;
}
button {
cursor: pointer;
outline: 0;
margin-left: 20px;
-webkit-transition: all 0.3s;
transition: all 0.2s;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 0;
padding: 0;
}
.Btn_blue_normal {
width: 200px;
height: 48px;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(4%, #648cff),
to(#4172fa)
);
background-image: linear-gradient(-180deg, #648cff 4%, #4172fa 100%);
border: 1px solid rgba(51, 100, 237, 0.35);
-webkit-box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.32),
inset 0 -2px 0 0 #3262e6;
box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.32), inset 0 -2px 0 0 #3262e6;
border-radius: 3px;
margin-left: -;
/* 了解客户案例: */
font-family: system, -apple-system, BlinkMacSystemFont;
font-size: 13px;
color: #ffffff;
letter-spacing: 0.7px;
text-align: center;
line-height: 16px;
}
.Btn_blue_normal:hover {
-webkit-box-shadow: 0 8px 20px 0 rgba(44, 71, 146, 0.4);
box-shadow: 0 8px 20px 0 rgba(44, 71, 146, 0.4);
border.........完整代码请登录后点击上方下载按钮下载查看
网友评论0