简体   繁体   中英

Hide element in CSS

I would like to hide this: https://i.imgur.com/nStKvPS.jpg

What should I add in custom CSS?

In your css file:

#banner-694641362 {
  display: none; 
}

Tip: You also can use opacity: 0; or visibility: hidden; .

display: hidden makes an element invisible, but it still affects the rendering of surrounding elements. display: none removes the element from the document flow, so it doesn't affect other elements' rendering.

display: none;

这将阻止它被显示

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM