我正在使用 Zurb 基金会。
我试图完全按照大屏幕中的外观打印页面,但所有内容都堆积起来(并且浮动错误)。
通过将 Foundation.min.css 中出现的每个“屏幕”替换为“打印,屏幕”,我成功地在打印页面中添加了网格。
问题是现在取的格子很小。
我读过这篇关于基金会支持的文章,但老实说,我不知道我到底应该做什么。我需要用sass重新编译foundation吗?
http://foundation.zurb.com/forum/posts/412-printing-paper-copies-of-site-built-on-foundation http://foundation.zurb.com/forum/posts/412-printing-paper-copies-of-site-built-on-foundation
我该怎么办?
谢谢。
这是 CSS:
@media print {
.large-1 {
width: 8.33333%;
}
.large-2 {
width: 16.66667%;
}
.large-3 {
width: 25%;
}
.large-4 {
width: 33.33333%;
}
.large-5 {
width: 41.66667%;
}
.large-6 {
width: 50%;
}
.large-7 {
width: 58.33333%;
}
.large-8 {
width: 66.66667%;
}
.large-9 {
width: 75%;
}
.large-10 {
width: 83.33333%;
}
.large-11 {
width: 91.66667%;
}
.large-12 {
width: 100%;
}
}
Source: http://foundation.zurb.com/forum/posts/2820-printing-foundation-5 http://foundation.zurb.com/forum/posts/2820-printing-foundation-5
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)