CSS中"*"的含义 [英] Meaning of '*' in CSS
本文介绍了CSS中"*"的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
css:*标记的含义
*
在CSS中做什么?我在此处中看到了一些包含该代码的代码:
What does *
do in css? I saw some code here that contained it:
.center-wrapper{
text-align: center;
}
.center-wrapper * {
margin: 0 auto;
}
这是错字吗?
推荐答案
*
表示ALL.
在这种情况下,它将是 .center-wrapper
In this case it would be ALL the elements in .center-wrapper
这篇关于CSS中"*"的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!