Closed cxb8888 closed 6 years ago
页面引入:
<link rel="import" href="button.html"> 目前只有在chrome浏览器里面可以使用,需要放到服务器环境下
<div>
<strive-button />
</div>
button.html:
strive-button{
display: block;
padding:10px;
background-color: #399;
}
<strive-button>
我是按钮
</strive-button>