Amaze UI 2.4

CSS

Basic CSS settings, fundamental HTML elements styled and grid system, .etc

Print


These are the printing styles. When a page is printed, color will be set to black and styles like background, text-shadow and box-shadow will be removed.

Using content attribute in CSS3, title and URL of <a> and <abbr> will be printed after its content.

Amaze UI
Amaze UI
<!-- Use print in browser to preview -->
<a href="http://www.amazeui.org">Amaze UI</a>
<abbr title="http://www.amazeui.org">Amaze UI</abbr>

Utility Class

  • am-print-hide Visible in browser, but Invisible to printer.
  • am-print-blockam-print-inline-blockam-print-inline Invisible in browser, but visible to printer, and are printed as block,inline-block,inline styles respectively.
<!-- 在打印预览中查看效果 -->
<div class="am-print-hide"><button type="button" class="am-btn am-btn-primary am-btn-block">Invisible in browser, but visible to printer.</button></div>

<div class="am-print-block"><button type="button" class="am-btn am-btn-primary am-btn-block">Invisible in browser, but visible to printer.</button></div>

Reference

侧栏导航
Amaze UI 微信
在微信上关注我们