css iphonex适配
/* iphonex适配 */
@media only screen and (device-width:375px) and (-webkit-device-pixel-ratio: 3) { .a{ padding-bottom: 10px; } .b{ margin-bottom: 10px; } }
/* iphonex适配 */
@media only screen and (device-width:375px) and (-webkit-device-pixel-ratio: 3) { .a{ padding-bottom: 10px; } .b{ margin-bottom: 10px; } }