我正在使用paper-card
聚合物目录中的聚合物元素。
我可以使用以下命令从我的 html 文件中指定一个 mixin:
<style is="custom-style">
paper-card {
width:300px;
--paper-card-header:{width:200px;
height: 200px;
margin: 25px auto;
border-radius: 200px;
};
}
</style>
如何从外部样式表中指定相同的样式?我不想更改paper-card.html
导入文件的内容。
谢谢。