:-moz-broken
非标准: 该特性是非标准的,请尽量不要在生产环境中使用它!
:-moz-broken
CSS 伪类是一个 Mozilla 扩展,用于匹配表示损坏图像链接的元素。
备注: 这个选择器主要是为主题开发人员设计。
语法
css
:-moz-broken {
/* ... */
}
示例
HTML
html
<img src="broken.jpg" alt="这个图像损坏了 :-(" />
CSS
css
:-moz-broken {
background: bisque;
padding: 8px;
}
结果
规范
不属于任何标准。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
:-moz-broken |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.