在twitter bootstrap中缩小大小? [英] Zoomed-out sizing in twitter bootstrap?

查看:77
本文介绍了在twitter bootstrap中缩小大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢使用twitter启动的所有项目的大小(在我的浏览器中)我缩小两次,ctrl - ,ctrl - 而不是默认值,使用ctrl + 0查看。

I like the sizes of all items using twitter bootstrap when (in my browser) I've zoomed out twice, ctrl -, ctrl -, rather than the default, viewing with ctrl+0.

缩放会影响字体大小,响应式设计,以及其他一些我想使用bootstrap的重要原因,所以我不想勉强只是修复一个宽度,打破所有这一切。

Zooming affects font sizes, the responsive design, and a dozen of the other great reasons I want to use bootstrap, so I don't want to hackishly just fix a width and break all of that.

Bootstrap有一个单一的CSS值(或一小部分),我可以改变产生这样的缩放和大小的地方?我实现设置缩放本身更多是一个浏览器问题,所以我不想硬编码它的方式,

Does Bootstrap have a single CSS value (or a small set of them) that I can change somewhere that produces something like this zoom and sizing? I realize setting zoom itself is more of a browser-issue, so I'd rather not hard-code it that way, either.

编辑

答案可能更接近:

使用Bootstrap设置正文的最大宽度

...这表明没有?我必须重新编译引导?

...which suggests no? I have to recompile bootstrap?

推荐答案

答案是否定的,没有单一的简单方法来做这个在引导设置,即使当从LESS重新编译在表上。

The answer is NO, there is no single, simple way to do this in bootstrap settings, even when recompiling from LESS is on the table.

问题的症结是引导响应式设计与大量的1200px显示器。这使得1000px笔记本电脑的显示看起来高度放大。

The crux of the issue is that the bootstrap responsive design works with massive 1200px displays. This makes a 1000px laptop's display look highly zoomed-in.

直接编辑较少的文件,我减少了字体大小,减少了1200的宽度和字体大小。

Editing the less files directly, I reduced font-sizes, reduced the 1200 width and font sizes in..


  • variables.less

  • media.less

  • layouts.less

  • responsive-1200-min.less

  • variables.less
  • media.less
  • layouts.less
  • responsive-1200-min.less

它只是打破了navbar。我从bootstrap github的理解是,有更多的硬编码比较少的变量建议,这解释了很大的问题。

And it only seemed to break the navbar. My understanding from the bootstrap github is that there is a fair amount more hardcoding than the less variables suggest, and that accounts for much of the problem.

这篇关于在twitter bootstrap中缩小大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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