/*手机横屏时执行*/ @media screen and (orientation:landscape){ .txtle{ color: red } } /*手机竖屏时执行*/ @media screen and (orientation:portrait){ #wrap{ display:none; } }
fm060 2017-12-11 14:21 原文
/*手机横屏时执行*/ @media screen and (orientation:landscape){ .txtle{ color: red } } /*手机竖屏时执行*/ @media screen and (orientation:portrait){ #wrap{ display:none; } }