首页 > 解决方案 > 这两个 CSS 换行符是一样的吗?\一个,\一个

问题描述

我想确认是否\a\A两者都是相同的 CSS 换行符,大写字母或小写字母在这里无关紧要吗?

Like for example these are the same:
#content1::after{
    content: "\a";
    white-space: pre;
}
#content1::after{
    content: "\A";
    white-space: pre;
}

谢谢

标签: css

解决方案


可能是的,这些字符代表 CSS 中“换行符”的一般概念


推荐阅读