【问题标题】:Indent each line more than the previous line in a single paragraph div在单个段落 div 中每行缩进多于上一行
【发布时间】:2015-03-11 21:27:14
【问题描述】:

我正在创建一个 WordPress 主题并试图让一个 div 类段落看起来像这样:

我看到了以下内容,这很棒,但不想用斜体:

Is there a simple way to dynamically indent each line in a div?

我尝试在容器上执行transform: skewX(5deg);,然后在文本类上执行transform: skewX(-5deg);,但它又恢复为普通文本。

非常感谢任何帮助。

谢谢。

【问题讨论】:

    标签: javascript jquery html css wordpress


    【解决方案1】:

    看看 CSS Shapes,例如:http://alistapart.com/article/css-shapes-101

    【讨论】:

    • 尝试了几次,但效果很好,谢谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-31
    • 1970-01-01
    相关资源
    最近更新 更多