CSS 衔接区块 HTML 样式

指定 id
html:

<footer id="footer">...</footer>

css:

#footer {font-family: 'Helvetica Neue',Helvetica,'Lucida Grande',Arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','WenQuanYi Micro Hei',STHeiti,SimSun,sans-serif;}

 

指定 class
html:

<div class="copyright">...</div>

css:

.copyright{font-family: 'Helvetica Neue',Helvetica,'Lucida Grande',Arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','WenQuanYi Micro Hei',STHeiti,SimSun,sans-serif;}

0 条评论

昵称

沙发空缺中,还不快抢~