css - H5中display属性设置问题
ringa_lee
ringa_lee 2017-04-17 13:46:46
0
2
814

看到一个网页,将某文字的display属性设置为none,但是网页显示正常,但是当我把代码copy到本地时文字却无法显示,如下图,求解

ringa_lee
ringa_lee

ringa_lee

reply all(2)
迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!