• HTML文本/文字竖直方向/纵向显示


    HTML vertical text (Safari, Firefox, Chrome, and Opera)



    .vText { -moz-transform: rotate(-90deg) translate(0, 100%); -moz-transform-origin: 0% 100%; -o-transform: rotate(-90deg) translate(0, 100%); -o-transform-origin: 0% 100%; -webkit-transform: rotate(-90deg) translate(0, 100%); -webkit-transform-origin: 0% 100%; transform: rotate(-90deg) translate(0, 100%); transform-origin: 0% 100%; }


    IE:
    .zx {writing-mode:bt-lr; }


    在IE和firefox等不同浏览器中的效果不一样,用法也不一样。


    Ref
    http://brickybox.com/2010/09/15/html-vertical-text-safari-firefox-chrome-and-opera
    http://generatedcontent.org/post/45384206019/writing-modes
    http://stackoverflow.com/questions/5524799/how-do-you-do-vertical-text-in-firefox
  • 相关阅读:
    pinus学习(3)
    pinus学习(2)
    HBASE架构解析(二)
    排序算法
    泛型原理
    《JAVA NIO》第二章缓冲区
    @SuppressWarnings
    网络编程
    synchronized原理
    第十六节:pandas之日期时间
  • 原文地址:https://www.cnblogs.com/emanlee/p/4241797.html
Copyright © 2020-2023  润新知