简体   繁体   中英

¿Why some classes of tailwind don't work?

I have a project created with Laravel 8, Jetstream, I've installed Tailwind CSS and fontawesome-free too.

When I use this classes like that:

<i class="fa fa-user-circle text-white cursor-pointer text-6xl"></i>

text-white and cursor-pointer works perfectly but "text-6xl" don't

if I use style="font-size: 60px" this works, but the class of Tailwind don't

问题是将 laravel 8 与 scss 一起使用,但顺风的输出是 css,请尝试更改它,它应该可以工作。

Run npm run dev

Not all of tailwind css classes will be available unless you build dev assets.

You can also npm run dev watch to watch the files and recompile when one of them changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM