1、设定最外层投影(box-shadow:0px 0px 100px 200px rgba(0,0,0,0.5))
<div class="mingpian_module" id="mingpian_module" style="transform: none; animation: bounceInDown 2s ease 0s 1 ;-webkit-transform: none; -webkit-animation: bounceInDown 2s ease 0s 1 ;position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;background-color:rgba(0,0,0,0.5);font-size:13px;box-shadow:0px 0px 100px 200px rgba(0,0,0,0.5)">
<div class="mingpian_animate_loading" style="display:none">
<div class="mingpian_animate"></div>
</div>
<div style="width:100%;position:absolute;left:0px;height:100%;z-index:10000;" id="cardinfo_show">
<div class="close_mingpian" style="width:30px;height:30px;position:absolute;right:20px;top:90px;border-radius:30px;background-image: url(assets/images/close_mingpian.png);background-repeat: no-repeat;background-size: 30px 30px;cursor:pointer; transform: scaleX(1) scaleY(1);-webkit-transform: scaleX(1) scaleY(1);-webkit-transform-origin:0 0;transform-origin:0 0;" οnclick="closeMingpian();"> </div>
<div style="transform:perspective(600px) rotateX(28deg);-webkit-transform:perspective(600px) rotateX(28deg);-webkit-perspecitve-origin:50% 50%; transform-style: preserve-3d;position:absolute;left:27px;top:194px;width:265px; height:171px;z-index:10;background: transparent;">
<img src="$headurl" id="headurl" style="width:74px;height:74px;border:1px solid #e5e5e5;border-radius:50%;display:block;margin:14px 0 0 22px;float:left;" />
<div style="float:left;font-size:14px;color:#434343;font-weight:normal;margin:24px 0px 0 28px;">
<p style="margin:0 0 9px 0;">
<span style="color:#554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">姓名:</span>
<span style="color:#feaf3e;width:88px;font-weight: normal;
font-family: Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;
border: 0;background: none;color: #feaf3e;font-size:12px" id="linkman">$linkman</span>
</p>
<p style="margin:0 0 9px 0;">
<span style="color:#554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">电话:</span>
<a id="mobile" style="width:88px;font-size: 12px;font-weight:normal;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;width:88px;border:0;background:none;color:#4dc2ff; href="tel:$mobile">$mobile </a>
</p>
<p><span style="color:#554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">职位:</span><span id="job" style="font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;font-size:12px;font-weight:normal;width:88px;border:0;background:none;color:#221e18;line-height:12px;padding-left: 3px;">$job</span></p>
</div>
<div style="clear:both;"></div>
<div style="color:#434343;font-weight:normal;margin-left:3px;">
<p style="font-size:12px;margin-top:20px;color:#666666;">
<span style="margin-left:14px; color: #554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">公司:</span>
<span style="width:190px;overflow:hidden;height:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;font-size:12px;font-weight:normal;border:0;background:none;color:#221e18;" id="company">$company</span>
</p>
</div>
<div style="clear:both;"></div>
<p style="width:100%;margin:19px 0 0 0;padding:8px 0 0 110px;color:#fff;height:30px;cursor:pointer;" οnclick="changeToUpdate();"></p>
</div>
<img style="position:absolute;left:0;top:155px;width:320px;height:205px;z-index:-1;" src="/Public/img/wx_card_front.png" />
</div>
<div style="display:none;width:100%;position:absolute;left:0px;height:100%;z-index:1000000000;" id="cardinfo_edit">
<div style="font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;position:absolute;left:18px;top:190px;width:285px; height:171px;z-index:3;">
<img src="$headediturl" name="headurl" style="position:absolute;top:0px;left:0px;width:74px;height:74px;border:1px solid #e5e5e5;border-radius:50%;display:block;margin:14px 0 0 22px;float:left;" οnclick="$('#image').click();" />
<input type="hidden" name="oldHeadUrl" value="$headediturl" />
<div style="float:right;font-size:12px;color:#434343;font-weight:normal;margin:24px 22px 0 0px;">
<p>
<span style="color:#554d42;font-size:12px;font-weight:normal;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">姓名:</span>
<span>
<input οnfοcus="mpMKBfocus()" οnblur="mpMKBBlur()" style="font-size:12px;font-weight:normal;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;width:88px;border:0;background:none;color:#feaf3e;" name="linkman" value="$linkman" placeholder="请输入姓名"/>
</span>
</p>
<div class="mingpian_uline" style="margin-left:40px;height:1px;width:88px;background:#feae3c;overflow:hidden;" ></div>
<p style="margin:9px 0 0 0;font-size:12px;">
<span style="color:#554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">电话:</span>
<span>
<input οnfοcus="mpMKBfocus()" οnblur="mpMKBBlur()"style="font-size:12px;font-weight:normal;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;width:88px;border:0;background:none;color:#4dc2ff;" name="mobile" value="$mobile" placeholder="请输入电话"/>
</span>
</p>
<div class="mingpian_uline" style="margin-left:40px;height:1px;width:88px;background:#feae3c;overflow:hidden;"></div>
<p style="margin:9px 0 0 0;font-size:12px;"><span style="color:#554d42;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">职位:</span>
<span>
<input οnfοcus="mpMKBfocus()" οnblur="mpMKBBlur()" style="font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;font-size:12px;font-weight:normal;width:88px;border:0;background:none;color:#221e18;line-height:12px;" name="job" value="$job" placeholder="请输入职位"/>
</span></p>
<div class="mingpian_uline" style="margin-left:40px;height:1px;width:88px;background:#feae3c;overflow:hidden;"></div>
</div>
<div style="clear:both;"></div>
<div style="font-weight:normal;margin-left:3px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;">
<p style="font-size:12px;margin-top:12px;">
<span style="margin-left:14px;float:left;margin-top:2px;line-height:12px;font-size:12px;font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;color: #554d42;">公司:</span>
<span style="float:left;width:210px;overflow:hidden;display:block;">
<input οnfοcus="mpMKBfocus()" οnblur="mpMKBBlur()"style="font-family:Microsoft YaHei,微软雅黑,MicrosoftJhengHei,华文细黑,STHeiti,MingLiu;font-size:12px;font-weight:normal;width:205px;border:0;background:none;color:#221e18;line-height:12px;margin-left:4px;" name="company" value="$company" placeholder="请输入公司名称" />
</span>
</p>
<div class="mingpian_uline" style="margin-left:54px;height:1px;width:205px;background:#feae3c;overflow:hidden;"></div>
</div>
<p style=" position: absolute;height: 30px;line-height:30px;width: 137px;z-index: 4;color:#fff;text-align:center;font-size:12px;cursor: pointer;bottom: 4px;margin-left:3px;background:url('/Public/img/card_botton.png');background-size:100% 30px;" οnclick="saveToUpdate();">保 存</p>
<p style=" position: absolute;height: 30px;line-height:30px;width: 137px;z-index: 4;color:#fff;text-align:center;font-size:12px;left:144px;cursor: pointer;bottom: 4px;background:url('/Public/img/card_botton.png');background-size:100% 30px;" οnclick="cancelToSave();">取 消</p>
</div>
<img style="position:absolute;left:0;top:155px;width:320px;height:205;z-index:2;" src="/Public/img/wx_edit_front.png" />
</div>
</div>
<div class="small_point_move"></div>
2、设定透视:
transform:perspective(600px) rotateX(28deg);-webkit-transform:perspective(600px) rotateX(28deg);
在ios9上透视不生效,然后将最外层的投影去掉,效果生效。