When working with HTML attribute values, I am facing an issue where I can't get button text to display in two lines with different font sizes.
I have attempted using whitespace in CSS for word wrap, but this solution does not solve my problem. I also tried using special characters like ampersand-hash13; and ampersand-hash10;, but they did not work either.
@media (min-height: 280px) {
.divNumKeypad {
position: fixed;
bottom: 0;
width: 100%;
}
.numberBtn{
font-size: 30px;
height: 68px;
}
<div class="col-xs-4 ">
<input id="btnEight" type="button" tabindex="-1" value="HI HELLO" class="btn btn-primary btn-block numberBtn" onclick="buttonClick(8)" />
</div>
I am hoping to achieve a button that displays two lines of text. The first line should say "HI" in a larger font size, while the second line should show "HELLO" in a smaller font beneath it.