html - Bootstrap竖写

标签 html css twitter-bootstrap vertical-text

我想用 Bootstrap 垂直书写文本,但不想将文本旋转 90°。垂直,但转动且难以阅读。

enter image description here

但实际上是这样写的:竖着不转

enter image description here

我想有一种方法可以用 Bootstrap 做到这一点?你知道些什么吗?

最佳答案

你可以这样做:

CSS
      .verticaltext{
           width:1px;
           word-wrap: break-word;
           white-space:pre-wrap; 
        }

关于html - Bootstrap竖写,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34370907/

相关文章:

html - iPhone 未显示 HTML 选择 iOS 12.1.4 的完整选项

html - 悬停在 tr 内的所有元素

javascript - 土坯边缘 : Get this symbol position

html - 高度/顶部属性与 anchor 之间的相关性

java - Primefaces 和 Twitter Bootstrap - Bootstrap 向导的样式

css - 电视指南使用水平栏的方法?

html - 使用 CSS 创建三 Angular 形 div

javascript - 使用提交按钮在 jQuery 模式中关闭 HTML 表单

javascript - IE7 & jQuery-1.6.2 : List items being moved down go under the containing elements (multi list sorting)

html - Bootstrap 3.x 类似于 Bootstrap 2.3 中的网格列排序