gpt4 book ai didi

css - 三星 Galaxy 的媒体查询

转载 作者:行者123 更新时间:2023-11-27 22:45:00 26 4
gpt4 key购买 nike

我有媒体查询,对于所有设备,您都可以看到它 here , 在 CSS 中 -这里没有所有元素......

/* 
##Device = Desktops
##Screen = 1281px to higher resolution desktops */

@media (min-width: 80.0625em) {
......
}

/*
##Device = Laptops, Desktops
##Screen = B/w 1025px to 1280px */
@media (min-width: 64.0625em) and (max-width: 80em) {
............
}

/*
##Device = Tablets, Ipads (portrait)
##Screen = B/w 768px to 1024px */


@media only screen and (min-width: 48em)
and (max-width: 64em)
and (orientation: portrait) {
............................
}

/*
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1023px
*/

@media (min-width: 48em) and (max-width: 64em) and (orientation: landscape) {

....................
}

/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/

@media only screen and (min-width: 41.75em) and (max-width: 47.9375em) {
..............
}

/* für iPhone 6/7/8 766,4px x 375px */


@media only screen and (max-width: 47.9em)
and (min-width: 23.4375em)
and (orientation: landscape) {

...............................
}

/* kleine smartphone Landscape 640px x 319px kleine als Galaxy S5 */


@media only screen and (max-width: 40em) and (orientation: landscape) {

..................................
}

/* iphone 5 und kleine 528px */

@media only screen and (max-width: 33em) and (orientation: landscape) {

......................
}
/* ich selb gebaut 767px x 481px

@media only screen and (max-width: 30.0625em) and (orientation: portrait) {

...................
}
/* iphone 5 galaxy S5 */


@media only screen and (max-width: 23em) and (orientation: portrait) {

.......................
}

我的问题是 Samsung Galaxy 关闭 A 50Landscape,直到 A 40landscape 和 < strong>portrait,工作直觉,但关闭 A 50,只有 portrait 工作。

任何人都可以帮助我并告诉我如何解决这个问题吗?

最佳答案

我找到了 Media Query for Samsung Galaxy off A 50 landscape 的解决方案。

我补充说:

@media only screen and (max-width: 55.75em) {
.......................
}

之间

@media (min-width: 48em) and (max-width: 64em) and (orientation: landscape) {

....................
}

@media only screen and (min-width: 41.75em) and (max-width: 47.9375em) {  
..............
}

我在购物中心锁定了很多智能手机,其中大部分都可以看到我的网站内容....我认为这个问题的最佳解决方案是缩小 max- 上媒体查询之间的差异宽度

关于css - 三星 Galaxy 的媒体查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59669366/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com