Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经了解了 CSS 钩子这个术语,但我不是很清楚。你能给我一些想法吗?
任何类型的示例和相关链接都非常感谢。
你能详细说明一下吗?
CSS Hooks 通常被认为是放置在 HTML 中的类或 ID,以允许后端或服务器端语言与这些客户端“钩子”交互
什么是 CSS 钩子?
CSS Hooks 是一种简单的机制,它为您的元素定义了一种从第三方来源检索其样式的方法。
常见的挂钩有哪些?
没有。变化在于你的想象。
使用 CSS Hooks 的最佳实践是什么?
查看JQuery.cssHooks。