特色栏目

ASP源码

PHP源码

.NET源码

JSP源码

游戏频道
专题合集
关闭菜单
首页> 文件数据> css – 如何组合多个选择?

css – 如何组合多个选择?

时间:2026-01-19 17:33:01 作者:互联网
如何将这两个规则合并为一个?

#body_splash{  width: 100%;  height: 100%;  display: none;  opacity: 0;}#body_main{  width: 100%;  height: 100%;  display: none;  opacity: 0;}

我试过了

#body_splash #body_main

#body_splash#body_main

但都没有奏效

用逗号分隔它们:

#body_splash,#body_main {  width: 100%;  height: 100%;  display: none;  opacity: 0;}
相关文章

相关应用

热门文章

猜你喜欢

返回顶部