I put the div which can change the size by %
.
In this case in upper square, font size is OK.
but lowwer square font looks smaller.
Is there any good practice to adjst the font size according to the div size??
<div style="width:100px;height:100px;">
<div style="background-color:grey;width:100%;height:100%;">
<p>5</p>
</div>
<div style="width:100px;height:100px;">
<div style="background-color:grey;width:200%;height:200%;">
<p>5</p>
</div>
</div>