为了更好地体验,一个网页在屏幕上和打印纸上用的字体、间距可能不同,所以通过媒体类型设置。 用法 @media type{}type常用类型有all、print、screen、handheld(是手机吗?)