当前位置:网站首页>body有8px的神秘边距
body有8px的神秘边距
2022-07-08 00:05:00 【大大。】
首先,你需要知道为什么会有8px的神秘边距:
很多元素默认有一个8px的 margin,而且在不同浏览器上表现效果不同
在项目中,通常都是使用reser.css重置所有的样式表,可以保证在所有浏览器下,项目展示的样式是一致的:
(1)在项目中应用:在asset的css中插入reset.css文件,
// main.js
import @/assets/css/reset.css
(2)或者在demo这样写:
<style> * {
margin: 0; padding: 0; } </style>
边栏推荐
- The Ministry of housing and urban rural development officially issued the technical standard for urban information model (CIM) basic platform, which will be implemented from June 1
- Gnuradio operation error: error thread [thread per block [12]: < block OFDM_ cyclic_ prefixer(8)>]: Buffer too small
- DataWorks值班表
- 5、離散控制與連續控制
- Urban land use distribution data / urban functional zoning distribution data / urban POI points of interest / vegetation type distribution
- 2022 high altitude installation, maintenance and demolition examination materials and high altitude installation, maintenance and demolition operation certificate examination
- Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
- Different methods for setting headers of different pages in word (the same for footer and page number)
- COMSOL----微阻梁模型的搭建---最终的温度分布和变形情况---材料的添加
- 4. Apprentissage stratégique
猜你喜欢

3. Multi agent reinforcement learning

Android 创建的sqlite3数据存放位置

Redis集群

2021-03-06 - play with the application of reflection in the framework

Different methods for setting headers of different pages in word (the same for footer and page number)

Gnuradio transmits video and displays it in real time using VLC

Gnuradio 3.9 using OOT custom module problem record

break net

Application of state mode in JSF source code

Understanding of maximum likelihood estimation
随机推荐
Codeforces Round #643 (Div. 2)——B. Young Explorers
从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值
qt--将程序打包--不要安装qt-可以直接运行
2022 safety officer-c certificate examination summary and safety officer-c certificate reexamination examination
不算不知道,花呗分期的真实利率居然这么高
Redis cluster
Usage of xcolor color in latex
[loss function] entropy / relative entropy / cross entropy
液压旋转接头的使用事项
nacos-微服务网关Gateway组件 +Swagger2接口生成
如果时间是条河
Different methods for setting headers of different pages in word (the same for footer and page number)
为什么更新了 DNS 记录不生效?
STM32GPIO口的工作原理
Chapter 7 behavior level modeling
小金额炒股,在手机上开户安全吗?
Redis集群
PHP to get information such as audio duration
Understanding of maximum likelihood estimation
4. Apprentissage stratégique