Twitter bootstrap 移动优化站点上的文本大小太小
我用bootstrap制作了一个网站,它在桌面上运行良好,但在移动设备上,文本大小缩小到非常小,有什么解决方案可以使文本在移动网站上显示良好Twitter bootstrap 移动优化站点上的文本大小太小,twitter-bootstrap,mobile,optimization,Twitter Bootstrap,Mobile,Optimization,我用bootstrap制作了一个网站,它在桌面上运行良好,但在移动设备上,文本大小缩小到非常小,有什么解决方案可以使文本在移动网站上显示良好 <div class="col-md-4 col-xs-12"> <a href="#" class="thumbnail"> <img src="dapp/theme/images/hidden_superpower.jpg"alt="125x125"> <h4>
<div class="col-md-4 col-xs-12">
<a href="#" class="thumbnail">
<img src="dapp/theme/images/hidden_superpower.jpg"alt="125x125">
<h4>Your name's Hidden meaning!</h4>
</a>
</div>
使用CSS3媒体规则:
@media screen and (max-width: 480px) {
body div a h4 {
font-size: 2em;
}
}
或者,如果您正在使用SASS,请更改变量的值