0
引用符を前に付けるためにCSSを使用したテキストがあります。テキストは新しい行に達すると、それは引用符記号の後に整列しないが、複数行の内容を次のように整列します:beforeと:afterの内容
div {
width: 240px;
}
p:before {
content: "“";
font-size: 30px;
}
p:after {
content: "”";
font-size: 30px;
}
<div>
<p class="quote">This is some text that represents a quote that is rather long and splits into multiple lines</p>
</div>
前に私はそれがこの
ようになりたいですこれは:before
と:after
を使用して行うことができますか、別の方法を検討する必要がありますか?