我在这里进行了检查,但找不到答案,在我位于GSC的网站上说我的网站适合移动设备,但仍然出现2个错误:
1. Text too small to read
2. Clickable elements too close together.
在嵌入了iframe的游戏页面上,它也会自动缩放并缩小游戏尺寸,我该如何解决呢?因此它们可以像整页一样保留,当您向下滚动以查看说明和其他内容时?
关于第一个问题,我ve checked if I have viewport and I do, from what I
已经阅读过,这是需要对它进行排序的原因。
<meta name="viewport" content="width=device-width, initial-scale=1">
这是我的CSS:
.embed-responsive {
position: relative;
display: block;
width: 100%;
padding: 0;
overflow: hidden;
}
.embed-responsive::before {
display: block;
content: "";
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.embed-responsive-21by9::before {
padding-top: 42.8571428571%;
}
.embed-responsive-16by9::before {
padding-top: 56.25%;
}
.embed-responsive-4by3::before {
padding-top: 75%;
}
.embed-responsive-1by1::before {
padding-top: 100%;
}
但是它仍然缺少一些东西,例如在GSC上出现错误的示例URL: https://www.slotmaniak.com/game/temple-of-nudges-slot