steelseries库是与导航相关的动画仪表组件的集合。
这些组件被打包为Web组件,这意味着它们不需要JavaScript知识就可以在网页上使用。只需在HTML文件中包含以下代码段:
<script type="module" src="https://cdn.jsdelivr.net/npm/steelseries@2.0.7/dist/steelseries.bundled.min.js"></script>
Then select one of the components bellow, adjust the parameters as you see fit and copy paste the resulting code in your HTML. That's it, the component should now display correctly on your web page.
然后选择下面的组件之一,调整参数,你认为合适的,并复制粘贴产生的代码在您的HTML。就是这样,组件现在应该正确显示在您的网页上。