.elm:after {
content: 'とっても素敵な\A素敵な何か';
white-space: pre;
}
※white-space:pre;
が無いと改行されなかったので注意!
(参考)
http://ithat.me/2015/09/15/css-before-after-content-line-break
Go to list of users who liked
More than 5 years have passed since last update.
.elm:after {
content: 'とっても素敵な\A素敵な何か';
white-space: pre;
}
※white-space:pre;
が無いと改行されなかったので注意!
(参考)
http://ithat.me/2015/09/15/css-before-after-content-line-break
Register as a new user and use Qiita more conveniently
Go to list of users who liked