在用CSS设置字体为2em为什么字体大小没有变化?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:22:59
Original
1981 people have browsed it

各位大神好,我在用css设置字体为2em时,字体大小为什么没有变为父级字体的两倍呢?
代码


QQ浏览器打开的效果


回复讨论(解决方案)

哪里有设置?没看到

去掉

你这已经把css样式的内容给注释掉了,去掉

谢谢大家的回答,我搞明白原因了,原来错误在于CSS类名不能以数字开头!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
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!