1 ÷ 父元素的font-size × 需要转换的像素值 = em值 http://www.w3cplus.com/css/px-to-em 转载于:https://www.cnblogs.com/JaneBlog/p/6164629.html