The definition of <input type= "button"/> style cannot be displayed when modifying the phone page CSS today ~ See the example below
WAP page:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6D/29/wKiom1Vdih-Q2ipNAAAzfWaun-s224.jpg "title=" Qq20150521153056.png "alt=" Wkiom1vdih-q2ipnaaazfwaun-s224.jpg "/>
iOS access page:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/24/wKioL1Vdi8PilB5BAAA2cOGrTTg793.jpg "title=" Qq20150521153257.png "alt=" Wkiol1vdi8pilb5baaa2cogrttg793.jpg "/>
After a variety of search data from the Internet, the default is found in the iOS system is the original ecological style.
Workaround:
Define Global input{
-webkit-appearance:none;
}
The style is the same as the WAP page!!
Use HTML5 date iOS <input type= "datetime-local" class= "datetime_local"/> If you use the above input, the date selection will not appear, so we need to redefine Datetime-local style, the following code:
. datetime_local {
-WEBKIT-APPEARANCE:TEXTFIELD;PADDING:1PX;BACKGROUND-COLOR:WHITE;BORDER:2PX inset;border-image-source:initial; border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial; width:40%;height:100%;font-size:14px;
}
This is the perfect solution ~
Reference site: http://www.w3cplus.com/css3/changing-appearance-of-element-with-css3.html
This article is from the "Growth record" blog, so be sure to keep this source http://jsny821.blog.51cto.com/4736911/1653516
Page style definition cannot be used under iOS??