twitter引导在手机屏幕上调整文本大小 [英] twitter bootstrap resize the text size on phone screen

查看:178
本文介绍了twitter引导在手机屏幕上调整文本大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是twitter新手引导者。我借助 class =hidden-phone 在手机屏幕上隐藏了一些< tr> p>

但我想调整显示的文字以适合屏幕



如何调整文本大小以下在电话屏幕上?

 < span> test test test test test< / span> 


解决方案

这是您在twitter引导中使用移动视口的方式(或任何其他解决方案)

  @media(max-width:480px){
body {
font-size:11px;
}

.hidden-phone {
display:block;
}
}


I am new to twitter bootstrap. I am hiding some <tr> on phone screen with the help of class="hidden-phone"

But I want to resize the shown text to fit to the screen

How can I resize the text in spans like below on phone screen?

<span>test test test test test</span>

解决方案

This is how you work with mobile viewport in twitter bootstrap (or any other solution for that matter)

@media (max-width: 480px) { 
        body {
          font-size: 11px;
        }

        .hidden-phone {
           display: block;
        }
    }

这篇关于twitter引导在手机屏幕上调整文本大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆