最赞回答 / 慕粉3462803
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>应用</title><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"...
2016-08-06
已采纳回答 / 大铭王朝
就跟上面的代码一样,定义一个class,例如<span class="test">8</span> 然后加上样式test:empty {display: none;}这样当字母8不存在是,span标签就隐藏
2016-08-05