http://debugx5.qq.com 微信浏览器调试
统一input 提示语
.inputSec::-webkit-input-placeholder {/* WebKit browsers */color: #818181;}
.inputSec:-moz-placeholder{/* Mozilla Firefox 4 to 18 */color: #818181;opacity: 1}
.inputSec::-moz-placeholder{/* Mozilla Firefox 19+ */color: #818181;opacity: 1}
.inputSec:-ms-input-placeholder { /* Internet Explorer 10+ */color: #818181;}
ie 清除输入❌号
.inputSec::-ms-clear{display: none;}
.inputSec::-ms-reveal{display: none;}
ie input获取焦点下移 加浮动
苹果浏览器判断
if(/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent)){
}
swiper 两边留白
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
paginationClickable: true,
// scrollbar: '.swiper-pagination',
slidesPerView: 'auto',
centeredSlides: false,
loop: true,
spaceBetween: 0,
// grabCursor: true,
scrollbarHide: false,
scrollbarSnapOnRelease: true,
slidesOffsetBefore: sdfsdw,
//前进后退按钮
nextButton: '.next',
prevButton: '.prev',
});