We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c878e5 commit b805bbdCopy full SHA for b805bbd
1 file changed
css/main.css
@@ -135,3 +135,16 @@ a {
135
opacity: 1; /* Increase this so video is more visible */
136
}
137
138
+/* Rotate video 90 degrees clockwise in portrait mode */
139
+@media (orientation: portrait) {
140
+ .video-background {
141
+ transform: rotate(90deg);
142
+ width: 100vh;
143
+ height: 100vw;
144
+ top: 50%;
145
+ left: 50%;
146
+ margin-left: -50vh;
147
+ margin-top: -50vw;
148
+ }
149
+}
150
+
0 commit comments