我有一个主页,它将通过这样的方式加载相关的 html :
<html>
<head>
<style>object span {background-color: coral !important;}</style>
</head>
<body>
...regular page...
<object type="text/html" data="external-uri.html">
</body>
</html>
我希望主页能够对加载的依赖对象强制执行样式。 在虚构的示例中,我想设置背景颜色。有没有办法实现或有点孤立?