jQuery :root 选择器
定义和用法
The :root selector selects the document's root element.
In HTML, the root element is always the <html> element.
语法
$(":root")
The :root selector selects the document's root element.
In HTML, the root element is always the <html> element.
$(":root")
如果您想将 W3Schools 服务用于教育机构、团队或企业,请发送电子邮件给我们
sales@w3schools.com
如果您想报告错误,或想提出建议,请发送电子邮件给我们
help@w3schools.com