This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-18
Channels
- # beginners (84)
- # boot (21)
- # cider (12)
- # cljs-dev (13)
- # cljsrn (3)
- # clojure (169)
- # clojure-dusseldorf (2)
- # clojure-gamedev (6)
- # clojure-germany (1)
- # clojure-russia (15)
- # clojure-serbia (4)
- # clojure-spec (16)
- # clojure-uk (4)
- # clojurescript (51)
- # core-async (1)
- # datomic (23)
- # emacs (16)
- # figwheel (1)
- # fulcro (60)
- # hoplon (8)
- # lein-figwheel (3)
- # leiningen (1)
- # luminus (4)
- # lumo (43)
- # off-topic (4)
- # re-frame (17)
- # rum (37)
- # shadow-cljs (21)
- # test-check (13)
- # vim (14)
I'm using
(defstyles media
(at-media {:orientation :landscape
:screen true}
[:html
{:transform "rotate(-90deg)"
:-ms-transform "rotate(-90deg)"
:-webkit-transform "rotate(-90deg)"}]))
(css media)
(comment
@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 ignoredEvery 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!