html5 在线留言,html5实现手机弹窗留言对话框

html5实现手机弹窗留言对话框-webkfa.com

*{

margin:0;padding:0;

-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */

-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */

-webkit-tap-highlight-color: rgba(210,210,210,0.35); /* make transparent link selection, adjust last value opacity 0 to 1.0 */

-webkit-user-select: none; /* prevent copy paste, to allow, change ‘none‘ to ‘text‘ */

}

body{font-family:"微软雅黑";font-size:12px;background: url(http://image.kuwo.cn/kdt2014/bg.png) repeat;}

ul,li{list-style:none;}

.black_overlay{

display: block;

position: fixed;top: 0%;

left: 0%;

width: 100%;

height: 100%;

background-color: black;

z-index:1001;

-moz-opacity: 0.8;

opacity:.80;

filter: alpha(opacity=80);

}

.white_content{

display: block;

position: fixed;

top: 15%; left: 0;

width: 100%;

background-color: white;

z-index:1002;

overflow:hidden;

}

.tcw{width:100%;min-width:320px;}

#dituContent textarea{color:#868686;width:92%;padding:2%;height:122px;border:1px solid #b6b6b6;border-radius:2px;line-height:18px;margin:2%;}

.huati_btn2{width:30%;height:32px;background:#34a0f0;border-radius:3px;font:14px/32px "微软雅黑";display:block;overflow:hidden;margin:0 auto;text-align:center;color:#fff;text-decoration:none;margin:2% 10%;}

.im {overflow:hidden;padding:4% 0 2% 0;margin-top:0px}/*改*/

.im span{width:33%;float:left;text-align:center; vertical-align:absmiddle}

.im input{ vertical-align:middle;margin:-3px 5px 0 0}

.huati_btn{width:175px;height:32px;background:#34a0f0;border-radius:3px;font:14px/32px "微软雅黑";display:block;overflow:hidden;margin:0 auto;text-align:center;color:#fff;text-decoration:none;}

.huati{height:40px;padding-top:9px;border-bottom:1px dashed #cecece}

.text_w{color:#282828;font-size:14px;padding:0 2%;height:28px;}

.input{padding:0 2%;}

.input input{color:#868686;width:96%;padding:0 2%;height:32px;border:1px solid #b6b6b6;border-radius:2px;}

最多输入200个字

想被怎么称呼呢:

莫粉

萱粉

function hidetc(){

var obj1=document.getElementById("blackoverlayid");

obj1.style.display=‘none‘;

var obj2=document.getElementById("light");

obj2.style.display=‘none‘;

}

function addmess(){

alert("请自己实现");

}

原文:http://www.cnblogs.com/webkfa/p/4686708.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值