What does @media (orientation: landscape) return on pc?

1

I'm trying to generate rules for cases where "orientation" is not available, as a browser on pc, but I can not make this rule work,

I want the three cases to be considered, "orientation: portrait", "orientation: landscape" and "orientation: undefined" ??

try a rule like this, but without results.

@media(min-width: 1px) and not ((orientation:portrait) , (orientation:landscape)) {}
    
asked by Rolando Ruben Franco 27.07.2018 в 21:03
source

1 answer

0

The average query (orientation: landscape / portrait) only informs if it is wider than long, or equal (landscape), or if it is longer than it is wide (portrait)

    
answered by 30.07.2018 в 13:08