داڕێژە:وێنەی ھەڵبژێردراو/styles.css: جیاوازیی نێوان پێداچوونەوەکان
ناوەڕۆکی سڕاو ناوەڕۆکی زیادکراو
Aram (لێدوان | بەشدارییەکان) گونجاندنی ڤیدیۆ بۆ سەرجەم ئامێرەکانی مۆبایل کە لە پەڕەی دەستپێک پانییەکی زۆری داگیر دەکرد (بەپێی داواکاری) (سەرچاوەکۆدی میدیاکویری: https://stackoverflow.com/a/57675123) |
(بەبێ جیاوازی)
|
وەک پێداچوونەوەی ١٤:١٨، ٩ی کانوونی دووەمی ٢٠٢١
/* گونجاندنی پانیی ڤیدیۆ لە بەشی وێنەی ھەڵبژێردراوی دەستپێک */
.floatnone {
align-items: center;
justify-content: center;
display: flex;
}
/* Start media query for different mobile devices for fitting video (Main page) */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
#fit-video video, #mwe_player_0, #mwe_player_0 img{
width: 100%;
}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
#fit-video video, #mwe_player_0, #mwe_player_0 img{
width: 100%;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
#fit-video video, #mwe_player_0, #mwe_player_0 img{
width: 100%;
}
}
/* According to Mobile Orientation */
@media only screen and (orientation: landscape) {
#fit-video video, #mwe_player_0, #mwe_player_0 img{
width: 100%;
}
}
/* End media query for different mobile devices for fitting video (Main page) */