📜  css 选择第一个单词 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:52.498000             🧑  作者: Mango

代码示例3
Since there is no :first-word pseudo-element in CSS, this script can be used in its place. It works in Firefox, Netscape 6+, IE4+/Win, Opera 7+, Konqueror 3, Safari, and IE5/Mac

http://www.dynamicsitesolutions.com/javascript/first-word-selector/?path2=/javascript/first-word-selector/