Hello I'm make a two span tag box and make a div tag in span tags
I know font-size style is inherit property
so I input font-size property in parents span tags
first span tag's div's font-size is same to parents font-size
but second span tag's div's font-size is different from parents
font-size
in safari, chrome's console window inherit is normal
but span2's div is parent font-size 1.3multiple
I 'm thinking span1 and span2 is same, but inherit is not same.
why span1 inherit is normal but span2 inherit is not normal?
code is in bottom and i'm apply the safari console window
<style>
#span1{
font-size: 40px;
}
#span2{
font-size: 40pt;
}
</style>
<body>
<span id ="span1">
<div>text</div>
</span>
<span id = "span2">
<div>text</div>
</span>
</div>
</div>
</body>