当前位置:网站首页>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>
边栏推荐
猜你喜欢

Remote sensing contribution experience sharing

The foreach map in JS cannot jump out of the loop problem and whether foreach will modify the original array

MySQL查询为什么没走索引?这篇文章带你全面解析

Partage d'expériences de contribution à distance

3. Multi agent reinforcement learning

图解网络:揭开TCP四次挥手背后的原理,结合男女朋友分手的例子,通俗易懂

qt-使用自带的应用框架建立--hello world--使用min GW 32bit

给刚入门或者准备转行网络工程师的朋友一些建议

break net

How to fix the slip ring
随机推荐
云原生应用开发之 gRPC 入门
Voice of users | winter goes and spring comes, waiting for flowers to bloom -- on gbase 8A learning comprehension
QT build with built-in application framework -- Hello World -- use min GW 32bit
GBASE观察 | 数据泄露频发 信息系统安全应如何守护
break net
body有8px的神秘边距
mysql/mariadb怎样生成core文件
Chapter 7 behavior level modeling
Mysql database (2)
Android 创建的sqlite3数据存放位置
powerbuilder 中使用线程的方法
break net
给刚入门或者准备转行网络工程师的朋友一些建议
如何让导电滑环信号更好
Dataworks duty table
滑环使用如何固定
滑环在直驱电机转子的应用领域
正则表达式
MySQL数据库(2)
Usage of hydraulic rotary joint