jquery实现手机端移动端简洁表单效果代码

代码语言:html

所属分类:表单美化

代码描述:jquery实现手机端移动端简洁表单效果代码

代码标签: 移动 简洁 表单 效果

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

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1,maximum-scale=1, minimum-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <style>
        img {
        		border: 0;
        	}
        
        	body {
        		background: #f7f7f7;
        		color: #666;
        		font: 12px/150% Arial,Verdana, "microsoft yahei";
        	}
        
        	html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
        		margin: 0;
        		padding: 0;
        	}
        
        	article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
        		display: block;
        		margin: 0;
        		padding: 0;
        	}
        
        	audio,canvas,progress,video {
        		display: inline-block;
        		vertical-align: baseline;
        	}
        
        	a {
        		text-decoration: none;
        		color: #08acee;
        	}
        
        	a:active,a:hover {
        		outline: 0;
        	}
        
        	button {
        		outline: 0;
        	}
        
        	mark {
        		color: #000;
        		background: #ff0;
        	}
        
        	small {
        		font-size: 80%;
        	}
        
        	img {
        		border: 0;
        	}
        
        	button,input,optgroup,select,textarea {
        		margin: 0;
        		font: inherit;
        		color: inherit;
        		outline: none;
        	}
        
        	li {
        		list-style: none;
        	}
        
        	i {
        		font-style: normal;
        	}
        
        	a {
        		color: #666;
        	}
        
        	a:hover {
        		color: #eee;
        	}
        
        	em {
        		font-style: normal;
        	}
        
        	h2, h3 {
        		font-family: "microsoft yahei";
        		font-weight: 100;
        	}
        
        
        
        	/* ------------------- */
        	::-moz-placeholder {
        		color: #9fa3a7;
        	}
        
        	::-webkit-input-placeholder {
        		color: #9fa3a7;
        	}
        
        	:-ms-input-placeholder {
        		color: #9fa3a7;
        	}
        
        
        	.pc-kk-form{
        		padding:15px 20px;
        	}
        	.pc-kk-form-list{
        		background:#fff;
        		border:1px solid #e5e5e5;
        		border-radius:5px;
        		height:44px;
        		line-height:44px;
        		margin-bottom:10px;
        	}
        	.pc-kk-form-list input{
        		width:100%;
        		border:none;
        		background:none;
        		color:#9fa3a7;
        		font-size:14px;
        		height: 36px;
        		padding: 4px 10px;
        	}
        	.pc-kk-form-list textarea{
        		background:none;
        		border:none;
        		height:60px;
        		padding:10px;
        		resize:none;
        		width:94%;
        		line-height:22px;
        		color:#9fa3a7;
        		font-size:14px;
        	}
        	.nice-select{
        		position: relative;
        		background: #fff url(images/a2.jpg) no-repeat right center;
        		background-size:18px;
        		width:47%;
        		float:left;
        		border:1px solid #e5e5e5;
        		border-radius:5px;
        		height:44px;
        		line-height:44px;
        	}
        
        	.nice-select ul{
        		width: 100%;
        		display: none;
        		position: absolute;
        		left: -1px;
        		top: 44px;
        		overflow: hidden;
        		background-color: #fff;
        		max-height: 150px;
        		overflow-y: auto;
        		border: 1px solid #b9bcbf;
        		z-index: 9999;
        		border-radius:5px;
        
        	}
        	.nice-select ul li{
        		padding-left:10px;
        	}
        	.nice-select ul li:hover{
        		background:#f8f4f4;
        	}
        	.pc-kk-form-list-clear{
        		background:none;
        		border:none;
        	}
        	.pc-kk-form-btn button{
        		background:#ec5224;
        		color:#fff;
        		border:none;
        		width:100%;
        		height:50px;
        		line-height:50px;
        		font-size:16px;
        		border-radius:50px;
        	}
    </style>
</head>

<body>

    <div class="pc-kk-form">
        <form action="">
            <div class="pc-kk-form-list">
                <input type="text" placeholder="Name">
            </div>
            <div class="pc-kk-form-l.........完整代码请登录后点击上方下载按钮下载查看

网友评论0