搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can Firefox developer tools autocomplete tailwind/bootstrap classes?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Simon Walker

more options

When I develop web apps, I want to see adding and removing CSS classes in real time, like Chrome devtools do.

I use tailwind CSS heavily (https://tailwindcss.com/) which relies on adding CSS classes to change appearance. The same applies to bootstrap 4 styles.

Chrome devtools autoloads the CSS classes from tailwind, and shows updates to the page as I type. To try this out:

1. go to https://tailwindcss.com/ in chrome/chromium 2. open devtools (f12) 3. switch to the "Elements" tab 4. use the element picker to select the "Get Started" button 5. in the right hand panel, select the ".cls" icon 6. in the box that says "Add new class", type "text-" 7. notice the dropdown and if you change the value (e.g. to text-blue-500) the page updates

In firefox devtools with the equivalent ".cls" feature:

  • the classes do not auto-populate
  • changes are not shown until the enter key is pressed.

For me personally this is the only feature I use chrome for. Firefox completely satisfies me for all other usage.

Is this something that can be implemented? I have reasonable software development skills so would be willing to assist with this change.

When I develop web apps, I want to see adding and removing CSS classes in real time, like Chrome devtools do. I use tailwind CSS heavily (https://tailwindcss.com/) which relies on adding CSS classes to change appearance. The same applies to bootstrap 4 styles. Chrome devtools autoloads the CSS classes from tailwind, and shows updates to the page as I type. To try this out: 1. go to https://tailwindcss.com/ in chrome/chromium 2. open devtools (f12) 3. switch to the "Elements" tab 4. use the element picker to select the "Get Started" button 5. in the right hand panel, select the ".cls" icon 6. in the box that says "Add new class", type "text-" 7. notice the dropdown and if you change the value (e.g. to text-blue-500) the page updates In firefox devtools with the equivalent ".cls" feature: * the classes do not auto-populate * changes are not shown until the enter key is pressed. For me personally this is the only feature I use chrome for. Firefox completely satisfies me for all other usage. Is this something that can be implemented? I have reasonable software development skills so would be willing to assist with this change.

被采纳的解决方案

Simon Walker said

Is this something that can be implemented? I have reasonable software development skills so would be willing to assist with this change.

You have to file a bug about this feature request here.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

Simon Walker said

Is this something that can be implemented? I have reasonable software development skills so would be willing to assist with this change.

You have to file a bug about this feature request here.

more options

Thanks TyDraniu, I'll do so