<!DOCTYPE HTML>

<html lang="en-US">

<head>

<meta charset="UTF-8">

<title>CSS3制作3D表单</title>

<style type="text/css">

body{

background-color:#f7f0da;

background-image: -webkit-linear-gradient(180deg,transparent 90%,#eae4cf 10%);

background-image: -moz-linear-gradient(180deg,transparent 90%,#eae4cf 10%);

background-image: -o-linear-gradient(180deg,transparent 90%,#eae4cf 10%);

background-image: -ms-linear-gradient(180deg,transparent 90%,#eae4cf 10%);

background-image: linear-gradient(180deg,transparent 90%,#eae4cf 10%);

background-size: 5px 50px;

}

.box{ 

margin:20px auto; 

width:560px;

text-align:center;

font-weight:bold;

}

.box div:first-child{ 

font-size:60px;

margin-bottom:20px;

text-shadow:0 2px 0 #c0c0c0,0 3px #979385;

}

.box .input_control{

position:relative;

height:100px;

}

.box input{ 

position:relative;

font-size:18px;

height:56px;

width:100%;

padding-left:10px;

border:12px solid #fff;

border-radius:3px;

box-shadow:inset 0 0 0 1px #c0c0c0,inset 1px 2px 0 #e6e6e6,1px 2px 0 #c0c0c0,-1px 2px 0 #c0c0c0,2px 3px 0 #c0c0c0,-2px 3px 0 #c0c0c0,2px 12px 0 #c0c0c0,-2px 12px 0 #c0c0c0,0 2px 0 3px #979797,0 10px 0 3px #979797,-2px 15px 10px rgba(0,0,0,.6);

-webkit-box-sizing:border-box;

-moz-box-sizing:border-box;

-o-box-sizing:border-box;

-ms-box-sizing:border-box;

box-sizing:border-box;

-webkit-transition: all 0.1s ease-in;

-moz-transition: all 0.1s ease-in;

-ms-transition: all 0.1s ease-in;

-o-transition: all 0.1s ease-in;

transition: all 0.1s ease-in;

}

.box label{ 

position:absolute;

top:-2px; 

right:50px; 

width:74px; 

height: 56px;

color:#f3f2f1;

text-shadow:0 3px 1px #9e2719;

border:1px solid #dd684f;

background:-webkit-linear-gradient(top,#e78d7b 0,#dd684f 72px);

background:-moz-linear-gradient(top,#e78d7b 0,#dd684f 72px);

background:-o-linear-gradient(top,#e78d7b 0,#dd684f 72px);

background:-ms-linear-gradient(top,#e78d7b 0,#dd684f 72px);

background:linear-gradient(top,#e78d7b 0,#dd684f 72px);

box-shadow:0 14px 0 #9c2912,0 0 5px rgba(0,0,0,.3);

-webkit-transition: all 0.1s ease-in;

-moz-transition: all 0.1s ease-in;

-o-transition: all 0.1s ease-in;

-ms-transition: all 0.1s ease-in;

transition: all 0.1s ease-in;

}

.box label:after{

position:absolute;

display:block;

width: 74px;

text-align: center;

font: normal normal 30px/56px  'icomoon';

speak: none;

-webkit-font-smoothing: antialiased;

-moz-font-smoothing: antialiased;

-o-font-smoothing: antialiased;

-ms-font-smoothing: antialiased;

font-smoothing: antialiased;

}

.input_control:nth-of-type(2) label:after{

content:"\21";

}

.input_control:nth-of-type(3) label:after{

content:"\22";

}

.input_control:nth-of-type(4) label:after{

content:"\23";

}

.box input:focus{

outline: 0 none;

top:2px; 

box-shadow:inset 0 0 0 1px #c0c0c0,inset 1px 2px 0 #e6e6e6,1px 2px 0 #c0c0c0,-1px 2px 0 #c0c0c0,1px 3px 0 #c0c0c0,-2px 3px 0 #c0c0c0,2px 12px 0 #c0c0c0,-2px 12px 0 #c0c0c0,0 2px 0 3px #979797,0 10px 0 3px #979797,-2px 15px 10px rgba(0,0,0,.6);

}

.box input:focus + label{

top:0; 

}

::-webkit-input-placeholder {

color:#d94a2d;

font-style:italic;

}

.box .btn{

position:relative; 

width:210px; 

height:60px;

color:#4c6e03;

font:bold 35px  "Impact";

text-indent:10px;

letter-spacing:3px;

text-align:left;

margin-bottom:20px;

border:none;

border-radius:6px;

text-shadow:-1px 2px 0 #c4e184;

box-shadow:1px 2px 0 #5f8214,-1px 2px 0 #5f8214,2px 3px 0 #5f8214,-2px 3px 0 #5f8214,2px 12px 0 #5f8214,-2px 12px 0 #5f8214,0 2px 0 3px #304601,0 10px 0 3px #304601,-2px 15px 10px rgba(0,0,0,.6);

background:-webkit-linear-gradient(top,#c5e185,#a5c65c);

-webkit-transition: all 0.1s ease-in;

-moz-transition: all 0.1s ease-in;

-o-transition: all 0.1s ease-in;

-ms-transition: all 0.1s ease-in;

transition: all 0.1s ease-in;

}

.box .btn:after{ 

position:absolute;

display:block; 

content:"\25"; 

width:36px; 

height:36px; 

border-radius:18px; 

background:#5f8214; 

top:10px; 

right:20px;

text-indent:5px;

text-align:center; 

color:#b3d36e;

text-shadow:0 3px 0 #325207;

box-shadow:inset 0 6px 0 #325207;

font: normal normal 18px/40px  'icomoon';

speak: none;

-webkit-font-smoothing: antialiased;

-moz-font-smoothing: antialiased;

-o-font-smoothing: antialiased;

-ms-font-smoothing: antialiased;

font-smoothing: antialiased;

}

.box .btn:hover{ 

background:-webkit-linear-gradient(top,#a2c452,#a5c65c);

background:-moz-linear-gradient(top,#a2c452,#a5c65c);

background:-ms-linear-gradient(top,#a2c452,#a5c65c);

background:-o-linear-gradient(top,#a2c452,#a5c65c);

background:linear-gradient(top,#a2c452,#a5c65c);

}

.box .btn:active{

top:2px; 

box-shadow:1px 2px 0 #a5c65c,-1px 2px 0 #a5c65c,1px 3px 0 #a5c65c,-2px 3px 0 #5f8214,2px 12px 0 #5f8214,-2px 12px 0 #5f8214,0 2px 0 3px #5f8214,0 10px 0 3px #304601,-2px 15px 10px rgba(0,0,0,.6);

}

.box p a{

color:#d94a2d; 

line-height:30px;

font-size:14px;

}

@font-face {

font-family: 'icomoon';

src:url('fonts/icomoon.eot');

src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),

url('fonts/icomoon.svg#icomoon') format('svg'),

url('fonts/icomoon.woff') format('woff'),

url('fonts/icomoon.ttf') format('truetype');

font-weight: normal;

font-style: normal;

}

</style>

</head>

<body>

<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>

<div class="page">

<section class="demo">





<div class="box">

  <form>

    <div>secure login</div>

    <div class="input_control">

        <input type="text" id="inputName"  placeholder="Your Name">

        <label for="inputName"></label>

    </div>

    <div class="input_control">

        <input type="text" id="inputEmail"  placeholder="Your Email">

        <label for="inputName"></label>

    </div>

    <div class="input_control">

        <input type="password" id="inputPassword"  placeholder="******">

        <label for="inputName"></label>

    </div>

    <div>

      <button type="submit" class="btn">LOGIN</button>

    </div>

  </form>

</div>



    </section>

</div>

</body>

</html>

CSS3制作美丽的3D表单的更多相关文章

  1. 纯CSS3制作学生入学档案表单样式代码

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  2. 一款纯css3实现的超炫3D表单

    今天要给大家分享一款纯css3实现的超炫3D表单.该特效页面的加载的时候3d四十五度倾斜,当鼠标经过的时候表单动画回正.效果非常炫,一起看下效果图: 在线预览   源码下载 实现的代码. html代码 ...

  3. 使用 jQuery & CSS3 制作美丽的照片画廊

    在本教程中,我们将创建一个很好看的照片画廊效果.我们的想法是,以显示专辑作为一个滑块,而当这张专辑被选中,我们将使用一个美丽的照片堆栈展示专辑的图像.在照片堆栈视图,我们可以通过将最上面的图像移动到所 ...

  4. 一款简易的CSS3扁平化风格联系表单

    CSS3扁平化风格联系表单是一款CSS3简易联系表单非常清新,整体外观不是那么华丽,但是表单扁平化的风格让人看了非常舒服,同时利用了HTML5元素的特性,表单的验证功能变得也相当简单.经测试效果相当不 ...

  5. 制作Html标签以及表单、表格内容

    制作Html一般用DW(......),Html全称为(Hyper Text Markup Language   超文本标记语言) 文本就是平常电脑上的文本文档,只能存储文字,而超文本文档可以存储音乐 ...

  6. AJAX练习(一):制作可以自动校验的表单(从原理上分析ajax的作用)

    继上文(AJAX(一)AJAX的简介和基础)作为联系. 传统网页在注册时检测用户名是否被占用,传统的校验显然缓慢笨拙. 当ajax出现后,这种体验有了很大的改观,因为在用户填写表单时,签名的表单项已经 ...

  7. JQuery制作网页——第九章 表单验证

    1.  表单验证:减轻服务器的压力.保证输入的数据符合要求: 2.  常用的表单验证:日期格式.表单元素是否为空.用户名和密码.E-mail地址.身份证号码等: 3.  表单验证的思路: 1.     ...

  8. 使用jQuery快速高效制作网页交互特效---表单校验

    表单基本验证技术 为什么需要表单验证 减轻服务器的压力 保证输入的数据符合要求 常用的表单验证 1.日期格式 2.表单元素是否为空 3.用户名和密码 4.E-mail地址 5.身份证号码 表单选择器 ...

  9. 9款大气实用的HTML5/CSS3注册登录表单

    1.HTML5/CSS3仿Facebook登录表单 利用CSS3制作的登录表单的确很漂亮,我们在html5tricks网站上也分享过几款了,比如CSS3密码强度验证表单可以显示密码的强度,这款纯CSS ...

随机推荐

  1. 15.04.14-登录之后刷新AntiForgeryToken

    用MVC做网站的时候,碰到这样一种情况: 用户可以匿名访问某页面A,页面可以填写,然后保存数据.访问可以匿名,但是提交的时候会提示登录,然后用户登录之后才能保存. 这里面的问题 1. 用户匿名访问页面 ...

  2. hbase源码系列(八)从Snapshot恢复表

    在看这一章之前,建议大家先去看一下snapshot的使用.这一章是上一章snapshot的续集,上一章了讲了怎么做snapshot的原理,这一章就怎么从snapshot恢复表. restoreSnap ...

  3. JS事件对象,筋斗云导航练习,跟随鼠标练习,放大镜练习,进度条练习

    JS事件对象,筋斗云导航练习,跟随鼠标练习,放大镜练习,进度条练习 btn.onclick = function(event) { 语句 } 其中event就是事件对象,在这个方法中指向的对象是onc ...

  4. ApplicationContextAware接口的作用

      1/============== 在Web应用中,Spring容器通常采用声明式方式配置产生:开发者只要在web.xml中配置一个Listener,该Listener将会负责初始化Spring容器 ...

  5. v8是怎么实现更快的 await ?深入理解 await 的运行机制

    最近v8团队发表一篇博客Faster async functions and promises, 预计在v7.2版本实现更快的异步函数和promise. 文章内容看起来不是很容易理解,背后的原理比较隐 ...

  6. IT 运营架构杂谈【前言】

    [ 什么是IT 服务 ?]   OGC官方的ITIL 服务定义: 中文定义:实施和管理 IT 服务,满足业务的需要.IT 服务管理由IT 服务提供方通过人员.流程和信息技术的适当组合而进行.   [ ...

  7. Solr系列二:solr-部署详解(solr两种部署模式介绍、独立服务器模式详解、SolrCloud分布式集群模式详解)

    一.solr两种部署模式介绍 Standalone Server 独立服务器模式:适用于数据规模不大的场景 SolrCloud  分布式集群模式:适用于数据规模大,高可靠.高可用.高并发的场景 二.独 ...

  8. repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案

    在我下载Android源代码时,在最后一步调用repo sync,出现“fatal: '../platform/abi/cpp.git' does not appear to be a git rep ...

  9. js json日期格式转换日期方法

      接收json数据,日期格式为:"\/Date(1414078309687)\/" var value = "/Date(1414078309687)/"; ...

  10. Lemon OA第1篇:简单介绍

    官方网站:http://www.mossle.com/ 声明:我不是Lemon OA作者,只是分享好的资源.以下内容均代表个人见解~ 从官网说起 知道Lemon OA,也是最近研究Activiti,看 ...