Currently, I am utilizing bootstrap 4 alpha version.
<button class="btn btn-link p-0">
<div style="display:inline-block; background-color:#c2f5ff; width: 100px; height: 100px;">
</div>
</button>
In my code, I have intricately nested a div within a button element. The dimensions of the div are set with specific values for both its height and width. The width of the button perfectly accommodates the div, however, the height of the button seems to be unnecessarily larger than expected. Additionally, upon clicking the button, it reveals that the blue outline surrounding the button does not align properly with the content inside.
I'm puzzled by this unexpected behavior - why is this happening?