当前位置:网站首页>The body has a mysterious margin of 8px
The body has a mysterious margin of 8px
2022-07-08 01:47:00 【Big.】
First , You need to know why 8px
Mysterious margin of :
Many elements have one by default 8px
Of margin
, And the performance effect is different on different browsers
In the project , It's usually used reser.css
Reset all Style sheets , It can be guaranteed under all browsers , The style of project presentation is consistent :
(1) Apply... In the project : stay asset
Of css
Insert reset.css
file ,
// main.js
import @/assets/css/reset.css
(2) Or in demo Write it like this :
<style> * {
margin: 0; padding: 0; } </style>
边栏推荐
- 什么样的MES系统才是好系统
- Gbase observation | how to protect the security of information system with frequent data leakage
- Codeforces Round #649 (Div. 2)——A. XXXXX
- 能力贡献 GBASE三大解决方案入选“金融信创生态实验室-金融信创解决方案(第一批)”
- Codeforces Round #649 (Div. 2)——A. XXXXX
- Sword finger offer II 041 Average value of sliding window
- Codeforces Round #643 (Div. 2)——B. Young Explorers
- ANSI / nema- mw- 1000-2020 magnetic iron wire standard Latest original
- QT build with built-in application framework -- Hello World -- use min GW 32bit
- [SolidWorks] modify the drawing format
猜你喜欢
Android 创建的sqlite3数据存放位置
滑环使用如何固定
快速熟知XML解析
LeetCode 练习——剑指 Offer 36. 二叉搜索树与双向链表
In depth analysis of ArrayList source code, from the most basic capacity expansion principle, to the magic iterator and fast fail mechanism, you have everything you want!!!
ANSI / nema- mw- 1000-2020 magnetic iron wire standard Latest original
The persistence mode of redis - RDB and AOF persistence mechanisms
【SolidWorks】修改工程图格式
用户之声 | 对于GBase 8a数据库学习的感悟
Introduction to grpc for cloud native application development
随机推荐
COMSOL----微阻梁模型的搭建---最终的温度分布和变形情况---材料的添加
The foreach map in JS cannot jump out of the loop problem and whether foreach will modify the original array
qt-使用自带的应用框架建立--hello world--使用min GW 32bit
如果时间是条河
About snake equation (2)
COMSOL - Construction of micro resistance beam model - final temperature distribution and deformation - establishment of geometric model
如何让导电滑环信号更好
About snake equation (3)
LeetCode 练习——剑指 Offer 36. 二叉搜索树与双向链表
Understanding of expectation, variance, covariance and correlation coefficient
Application of slip ring in direct drive motor rotor
QML fonts use pixelsize to adapt to the interface
什么样的MES系统才是好系统
正则表达式
Urban land use distribution data / urban functional zoning distribution data / urban POI points of interest / vegetation type distribution
MySQL查询为什么没走索引?这篇文章带你全面解析
Is it safe to open an account on your mobile phone for small amount of stock speculation?
Matlab code on error analysis (MAE, MAPE, RMSE)
Plot function drawing of MATLAB
break algorithm---刷题map