css - Magic Font Sizing From Bootstrap -


i started creating app using bootstrap, , ended customizing css not need bootstrap @ all. however, when removing bootstrap css file, ran problem.

i have element assigning 120% font-size:

#page-title {     font-size:120%; } 

now bootstrap 3.3.5, font 1 size, apparently calculated 14px according chrome dev tools.

however, if remove bootstrap css , set body have font-size of 14px (and various other bootstrap styles such line-height), font different size, on windows phone 8.1 ie11.

my body css following:

body{     margin:0px;     font-family: "helvetica neue",helvetica,arial,sans-serif;     font-size: 14px;     line-height: 1.42857143; } 

which is, far can tell, same bootstrap's. still including same meta tags. difference css file.

my question not why specific version of ie (as cannot recreate on windows 8.1 ie11), magic bootstrap's css have can copy?

i went digging through entirety of bootstrap css , found bit missing.

@-ms-viewport {   width: device-width; } 

this fixes font sizing (and few other tweaks) on windows phones , tablets appear correctly bootstrap, not without.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -