css:* mark的含义 [英] css: the meaning of * mark

查看:187
本文介绍了css:* mark的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我这是什么意思:

Can you tell me what's the meaning of this:

*{
   margin:0 auto;
   padding:0;
  }


推荐答案

* 匹配一切。该特定代码段将一切的默认填充设置为0,0,0,0,默认边距设置为0,auto(即,垂直边距为0,水平边距为auto)。

* matches everything. That particular snippet is setting the default padding for everything to 0,0,0,0 and the default margins to 0, auto (that is, vertical margins are 0, horizontal margins are "auto").

这篇关于css:* mark的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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