chore: 调整针对1080高度的分辨率设置
This commit is contained in:
15
src/App.vue
15
src/App.vue
@@ -68,6 +68,21 @@
|
||||
/* 不设置固定宽度,让logo保持原始尺寸 */
|
||||
}
|
||||
|
||||
/* 针对1920x1080分辨率的banner精确定位 */
|
||||
@media (width: 1920px) and (height: 1080px) {
|
||||
.banner-left {
|
||||
left: 120px !important;
|
||||
top: 240px !important;
|
||||
transform: translateY(0) !important;
|
||||
}
|
||||
|
||||
.banner-right {
|
||||
right: 120px !important;
|
||||
top: 200px !important;
|
||||
transform: translateY(0) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动设备响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
/* 移动设备上隐藏左右标题语,避免遮挡主要内容 */
|
||||
|
||||
Reference in New Issue
Block a user