当前位置:网站首页>页面底部出现横向滚动条解决方法
页面底部出现横向滚动条解决方法
2022-08-07 05:03:00 【超爱学习芸】
不知道是不是因为用了swiper页面底部出现了一个横向滚动条,影响页面美观和用户体验

解决方法:
在index.html中加入
html {
overflow-y: scroll;
}
:root {
overflow-y: auto;
overflow-x: hidden;
}
:root body {
position: absolute;
}
body {
width: 100vw;
overflow: hidden;
}
边栏推荐
- Linear algebra study notes 4-4: Solving the inhomogeneous system of linear equations Ax=b, looking at the equations from the perspective of rank
- 洛谷P2456 二进制方程
- 【Metaverse系列一】元宇宙的奥秘
- 线性代数学习笔记5-1:正交的向量/空间、正交补(行空间和零空间正交)
- Golang Break、Continue跳出多层循环
- c language: address book
- 用C语言实现简单得通讯录
- tiup cluster enable
- 线性代数学习笔记4-4:求解非齐次线性方程组Ax=b,从秩的角度看方程
- tiup cluster list
猜你喜欢

预约家教老师上门辅导小程序开发制作功能介绍

多线程进阶

Network cable

typescript84-事件类型

typescript80-使用配置文件编译文件

position sticky与overflow冲突失效无作用,解决办法

Linear Algebra Study Notes 4-6: Null Space, Column Space, Row Space, Left Null Space, Elementary Row Transformation, Test Questions of Matrix

【Metaverse系列一】元宇宙的奥秘

后勤仓库物资领用发放小程序开发制作功能介绍

What is SaaS service platform software?
随机推荐
Golang 作用域的坑
茶叶交易行情小程序开发制作功能介绍
OK-MY TODO LIST
Quantitative risk control rule development, how to better make policies and rules, catch bad guys
tiup cluster help
From the rejection of my resume to the harvest of 8 big company offers, it took me 3 months to successfully break through the cocoon and become a butterfly
量化风控的规则开发,如何更好做策略定规则,抓坏人
洛谷P1189 `SEARCH`
npm install遇到Unexpected end of JSON input while parsing near ‘...onnect“:“^2.0.0“,“gru‘问题解决
LeetCode 二叉树的遍历
用C语言实现简单得通讯录
终端数据加密
MySQL - 存储过程和函数
线性代数学习笔记4-2:对线性方程组的理解、高斯消元法、LU分解
M write log to text
volatile principle
详解孙宇晨“星辰大海”背后的一盘大棋,太空旅行需要更多人参与
【TypeScript笔记】02 - TS高级类型
线性代数学习笔记2-3补充:抽象向量空间
Golang = is summarized