Fork me on GitHub

I'm using

(defstyles media
  (at-media {:orientation :landscape
             :screen      true}
             {:transform "rotate(-90deg)"
              :-ms-transform "rotate(-90deg)"
              :-webkit-transform "rotate(-90deg)"}]))

(css media)
 @media (orientation: landscape) and screen {
  html {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
I expect this to force all tablets into portrait mode, but it's being ignored

Lucas Barbosa15:11:11

Every time I see or remember this video, the first thing that comes to my mind is a comment on YouTube that said: “This is computer science porn” 😂 And it is freaking awesome!


golden oldie