[英]Hide element in CSS
I would like to hide this: https://i.imgur.com/nStKvPS.jpg我想隐藏这个: https : //i.imgur.com/nStKvPS.jpg
What should I add in custom CSS?我应该在自定义 CSS 中添加什么?
In your css file:在你的 css 文件中:
#banner-694641362 {
display: none;
}
Tip: You also can use opacity: 0;
提示:您也可以使用opacity: 0;
or visibility: hidden;
或visibility: hidden;
. .
display: hidden
makes an element invisible, but it still affects the rendering of surrounding elements. display: hidden
使元素不可见,但仍会影响周围元素的渲染。 display: none
removes the element from the document flow, so it doesn't affect other elements' rendering. display: none
从文档流中删除元素,因此它不会影响其他元素的呈现。
display: none;
这将阻止它被显示
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.