看到一个网页,将某文字的display属性设置为none,但是网页显示正常,但是当我把代码copy到本地时文字却无法显示,如下图,求解
ringa_lee
For this question of whether it takes effect, you can open computed to check whether it takes effect. This is an important part of debugging.
dispaly:none; means hidden. Also, it’s best to use the browser’s censor to check the style. You can’t see anything by looking at the css code, and the style can also be controlled by js.
For this question of whether it takes effect, you can open computed to check whether it takes effect. This is an important part of debugging.
dispaly:none; means hidden. Also, it’s best to use the browser’s censor to check the style. You can’t see anything by looking at the css code, and the style can also be controlled by js.