css 联系我们,CSS3 模态窗口联系我们表单模板
CSS
语言:
CSSSCSS
确定
@import url(https://fonts.googleapis.com/css?family=Lato:700);
* {
box-sizing: border-box;
}
html,
body {
height: 100%;
}
body {
-webkit-perspective: 1000px;
perspective: 1000px;
background-color: #49586e;
font-size: 14px;
font-family: 'Lato', sans-serif;
}
.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
visibility: hidden;
z-index: 1;
-webkit-transition-property: background-color, visibility;
transition-property: background-color, visibility;
-webkit-transition-duration: 0.7s, 0s;
transition-duration: 0.7s, 0s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
-webkit-transition-delay: 0s, 0.35s;
transition-delay: 0s, 0.35s;
}
.overlay.active {
-webkit-transition-delay: 0.35s 0s;
transition-delay: 0.35s 0s;
background-color: #309e72;
visibility: visible;
}
span {
width: 90%;
height: 8px;
margin-top: 20px;
display: block;
background-color: #96a5ba;
}
.contents {
position: absolute;
top: 50%;
left: 50%;
margin-top: -150px;
margin-left: -100px;
width: 200px;
height: 300px;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
z-index: 5;
}
.contents__front {
height: 100%;
position: relative;
background-color: #576983;
padding: 24px;
border-radius: 6px;
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.45);
-webkit-transition-property: -webkit-transform, background-color;
transition-property: transform, background-color;
-webkit-transition-duration: 0.35s, 0.35s;
transition-duration: 0.35s, 0.35s;
-webkit-transition-timing-function: cubic-bezier(0.5, -0.15, 0.5, 0.05), ease;
transition-timing-function: cubic-bezier(0.5, -0.15, 0.5, 0.05), ease;
-webkit-transition-delay: 0s, 0s;
transition-delay: 0s, 0s;
}
.contents__btn {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 27px;
background-color: #309e72;
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.25) inset;
border-radius: inherit;
overflow: hidden;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
z-index: 4;
}
.contents__btn:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 100%;
margin: auto;
background-color: #fff;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transition: width 0.175s ease;
transition: width 0.175s ease;
}
.contents__btn:focus {
outline: none;
}
.contents__back {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #fff;
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.45);
-webkit-transform: rotateX(-90deg) translateZ(150px);
transform: rotateX(-90deg) translateZ(150px);
opacity: 0;
-webkit-transition-property: -webkit-transform, opacity;
transition-property: transform, opacity;
-webkit-transition-duration: 0.35s, 0.35s;
transition-duration: 0.35s, 0.35s;
-webkit-transition-delay: 0s, 0.35s;
transition-delay: 0s, 0.35s;
-webkit-transition-timing-function: cubic-bezier(0.5, -0.3, 0.85, 0.05), ease;
transition-timing-function: cubic-bezier(0.5, -0.3, 0.85, 0.05), ease;
}
.contents__back h2 {
height: 40%;
background-color: #63bd99;
color: #fff;
font-weight: bold;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.contents__back form {
padding: 20px;
}
.contents__back label {
display: block;
color: #309e72;
margin-bottom: 3px;
}
.contents__back input[type="text"] {
width: 100%;
margin-bottom: 10px;
padding: 3px 0px;
color: #555;
display: block;
border: none;
border-bottom: 1px solid #aaa;
background-color: transparent;
}
.contents__back input[type="text"]:focus {
border-bottom: 1px solid #309e72;
outline: none;
}
.contents__back input[type="submit"] {
background-color: none;
border: none;
background-color: #309e72;
color: #fff;
padding: 3px 10px;
margin-top: 15px;
border-radius: 3px;
cursor: pointer;
}
.contents__back input[type="submit"]:hover {
background-color: #3dc48e;
}
.contents__back input[type="submit"]:focus {
outline: none;
}
.contents.active .contents__front {
background-color: #3b4759;
-webkit-transition-timing-function: cubic-bezier(0.55, 0.1, 0.7, 0.5), ease;
transition-timing-function: cubic-bezier(0.55, 0.1, 0.7, 0.5), ease;
-webkit-transition-delay: 0.35s, 0.35s;
transition-delay: 0.35s, 0.35s;
-webkit-transform-origin: top center;
-ms-transform-origin: top center;
transform-origin: top center;
-webkit-transform: rotateX(-23.07692deg) translateZ(-300px);
transform: rotateX(-23.07692deg) translateZ(-300px);
}
.contents.active .contents__btn:before {
width: 100%;
}
.contents.active .contents__back {
-webkit-transform: rotateX(0deg) translateZ(150px);
transform: rotateX(0deg) translateZ(150px);
opacity: 1;
-webkit-transition-duration: 0.7s, 0.35s;
transition-duration: 0.7s, 0.35s;
-webkit-transition-delay: 0.35s, 0.35s;
transition-delay: 0.35s, 0.35s;
-webkit-transition-timing-function: cubic-bezier(0.2, 0.8, 0.25, 1.2), ease;
transition-timing-function: cubic-bezier(0.2, 0.8, 0.25, 1.2), ease;
}
css 联系我们,CSS3 模态窗口联系我们表单模板相关推荐
- 基于css的表单模板
代码 /* General styles */ body { margin : 0 ; padding : 0 ; font : 80%/1.5 Arial,Helvetica,sa ...
- 【前端实例代码】Html5+css3创建登录和注册表单~实现新拟态新拟物风格(Neumorphism)网页图标效果~手把手教学~新手必会~超简单 ~
b站视频演示效果: [web前端特效源码]Html5+css3创建登录和注册表单2!实现新拟态新拟物风格(Neumorphism)网页图标效果!手把手教学!新手必会!超简单 ~ 效果图: 完整代码: ...
- 纯html点击按钮弹出表单,Bootstrap使用模态框modal实现表单提交弹出框
Bootstrap 模态框(Modal)插件 模态框(Modal)是覆盖在父窗体上的子窗体.通常,目的是显示来自一个单独的源的内容,可以在不离开父窗体的情况下有一些互动.子窗体可提供信息.交互等. 如 ...
- HTML提交弹出提交中,javascript – 从弹出窗口在父窗口中提交表单?
您可以通过window.opener.document在父窗口中获取对表单的引用,如下所示: var form = window.opener.document.getElementById(&quo ...
- easyUI 运用窗口和form表单制作导出功能
这里运用到easyUI的窗口模式和form表单的提交制作一个有条件的导出excel数据统计的功能,主要是知道了怎么运用easyUI的窗口和表单 jsp中: <!-- 导出数据来源条件窗口 --& ...
- file html5 样式,CSS小技巧之自定义个性的file表单样式
每当看到别人家的东西,总是那么的优美,他们的是这样的: 再想想自己家的是这样的. 样式没个性就算了,还那么多的废字,今天我们分享的就是如何把file表单做的漂亮些,废话不多说,直接进入正题. 其实当初 ...
- HTML5+CSS3 02(表格、表单标签、语义化,字符实体标签)
一 表格的基本使用 1.1 表格的基本标签 场景:在网页中以行+列的单元格的方式整齐展示和数据,如:学生成绩表 基本标签: 标签名 说明 table 表格整体,可用于包裹多个tr tr 表格每行,可用 ...
- css文本,背景,动画和html列表,表格,表单总结
css文本标签的应用 文本 text-shadow文本阴影:1px 2px 3px color 第1个长度值用来设置对象的阴影水平偏移值.可以为负值 第2个长度值用来设置对象的阴影垂直偏移值.可以为负 ...
- html5 css登录注册实现,html5+css3实现一款注册表单实例
效果图如下: html源码: 复制代码代码如下: 个人信息 账号: 密码: 重复密码: 邮箱地址: 其他信息 个人网址: 年龄: 月薪: 10000 function showValue(value) ...
最新文章
- 关于Entity Framework自动关联查询与自动关联更新导航属性对应的实体注意事项说明...
- [转]Linux 进程间通信:共享内存
- JQuery Datatables Ajax dataSrc的使用
- 图片随意移动,可以拖动图片计算
- C#利用phantomJS抓取AjAX动态页面
- JavaScript常用数组操作方法,包含ES6方法
- 数据字典怎么写_做数据分析,我只会同环比,谁能教我怎么写结论?
- 泛函分析 04.01 有界线性算子 - 有界线性算子与有界线性泛函
- (转载)基于STM32的多节锂电池管理系统的设计
- html标签blockquote,HTML中的blockquote标签怎么用
- 新更新....llq原创考试第二题
- jq实现标签单选、多选功能
- redis探索之常用的三种缓存读写策略
- 图像算法---白平衡AWB(讲的很好)
- 信息论与编码_从信息论谈数字孪生系统的大行其道
- 今日头条-级联组件开发过程
- AI入门----深度学习的软硬件配置
- sqlbulkcopy是覆盖式更新吗_名录式的管理,能保护好黄河鱽鱼吗?写在《国家重点保护野生动物名录》首次更新之际...
- jays+android耳机,享受HiFi音质 Jays推出新款入耳式耳塞
- 游戏找不到服务器无法打开,流放者柯南游戏无响应 找不到服务器解决办法
热门文章
- 基于Isolation Forest以及MeanShift进行异常检测模型的构建
- prefetch 和preload_前端preload, prefetch,dns-prefetch,defer,async了解一下
- 无损卡尔曼滤波UKF与多传感器融合
- LR需要理解的一些内容
- 深度学习之梯度下降法
- 基因组组装的那些困扰,用单倍体基因组一一破解!
- 无法打开锁文件 /var/lib/dpkg/lock - open (13: 权限不够) 无法对状态列表目录加锁(/var/lib/dpkg/),请查看您是否正以 root 用户运行?
- unity发布安卓黑屏_Unity将携十余爆款新游和多个独立游戏亮相ChinaJoy 2020
- sqlalchemy.exc.DataError: (pymysql.err.DataError) (1366, “Incorrect string value: ‘\\xE6问题解决
- python使用ctype中”OSError: [WinError 193] %1 不是有效的 Win32 应用程序“的解决办法