Created
October 19, 2012 15:36
-
-
Save ericsk/3918888 to your computer and use it in GitHub Desktop.
使用 CSS3 Media Query 來偵測 Modern IE10 的 Landscape 或 Portrait 模式
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (orientation: landscape) { | |
/* 這裡填入在 landscape 模式瀏覽時使用的樣式 */ | |
} | |
@media screen and (orientation: portrait) { | |
/* 這裡填入在 portrait 模式瀏覽時使用的樣式 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment