vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.38k forks source link

About font-size in this template. #841

Closed hezhongfeng closed 7 years ago

hezhongfeng commented 7 years ago

I add this code in template <div style="font-size: 16px;">年后萨达十大框架阿萨德</div>,like this:

    <img src="./assets/logo.png">
    <div style="font-size: 16px;">年后萨达十大框架阿萨德</div>
    <router-view></router-view>

I use the same font-size(16px),but the result is different. the code pen's font is large than in this template. Do you know why? image

Also with english.

image

hezhongfeng commented 7 years ago

Anybody know why?

maxmilton commented 7 years ago

General support questions are better suited to the forum: https://forum.vuejs.org

To find out what CSS rules are applied to an element you can use Chrome Devtools. Right click the element and select Inspect. In the Elements tab on the right select the Computed panel. That area shows you all the rules applied. Check in both places and find out what's different.

hezhongfeng commented 7 years ago

@MaxMilton thank you, I Check in both places~