I only need my day font size to be bigger than realMonth. how can I do that ? for instance my realMonth is Normal size, but I want my day to be Bold and 30px! is it possible?
$("#display").html(day +"<br/>"+realMonth);
});
Thank you :)
您可以像这样使用<span>
$("#display").html("<span style='font-weight: bold; font-size: 30px'>" + day +"</span><br/>"+realMonth);});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.