因此,由于某些原因,我无法在段落中创建一条折线,这样我就可以得到一条新的行。我用的是顺风和反应。
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Transform the way you interact with your customers. Collect valuable, actionable and credible feedback.</p>所以我试过所有这些解决方案,但是我会出错。
1.
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Transform the way you interact with your customers. <br> Collect valuable, actionable and credible feedback.</p><p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Transform the way you interact with your customers. <br> Collect valuable, actionable and credible feedback.</br> </p><p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Transform the way you interact with your customers. {"\n"} Collect valuable, actionable and credible feedback.</p>发布于 2022-03-14 10:29:17
发布于 2022-03-14 10:19:04
第一个--它是正确的,只需使用一个自结束标记,这样就不会得到那个错误。
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg
xl:text-xl">
Transform the way you interact with your customers. <br/> Collect valuable,
actionable and credible feedback.</p>发布于 2022-03-15 06:33:59
请在HTML中的任何标记中间使用<br>标记。所以,你可以用
标记从您想要断线的位置。守则如下:
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Transform the way you interact with your customers. <br> Collect valuable, actionable and credible feedback.</p>https://stackoverflow.com/questions/71465724
复制相似问题