我的CSS正确重置? [英] Is my CSS properly reset?

查看:110
本文介绍了我的CSS正确重置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请注意,我只想进行微小的更改,而不是应用整个CSS重置。



一切都很顺利,我认识到了这一点。 CSS我创建它。唯一没有意义的东西是基本样式规则下的样式规则。我不熟悉4个webkit-margin规则。



它们应该重置为0一些怎么办?



它们是什么?



我没有设置这些,它们不在单个CSS文件中



ut_but_new(只是按钮)





CSS



解决方案

这些是-webkit样式的默认边距。



您可以使用边距覆盖它们:0;


Please note, I'm only interested in making micro changes, not applying entire CSS resets. I want to figure things out for this particular element.

Regarding below:

Everything looks well and I recognize the CSS as I created it. The only thing that does not make sense, is the style rule under Basic Style Rules. I am not familiar with the 4 webkit-margin rules.

Should they be reset to 0 some how?

What are they for?

I did not set these and they are not in the single CSS file I use.

ut_but_new (just the button)

CSS

解决方案

These are the default margins for the -webkit styles.

You can override them using the margin:0;

这篇关于我的CSS正确重置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆