也好看,我两个都想要
你能不能把你的js啥的给我一份?
@小草上飞飞:
侧边栏
<!-- 看板娘-->
<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/moluxi/L2Dwidget.0.min.js"></script>
<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/moluxi/L2Dwidget.min.js"></script>
<script type="text/javascript">
L2Dwidget.init({"display": {
"superSample": 2,
"width": 200,
"height": 400,
"position": "right",
"hOffset": 0,
"vOffset": 0
}
});
</script>
页面定制css
/* 看板娘 */
/ #live2dcanvas {
border: 0 !important;
}
引入的样式可以存到自己博客园上
@魔露西: 就这几行吗?我还以为会很难……
还有最新的一些样式可以搜索L2Dwidget
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.0.min.js"></script>
<script>
L2Dwidget.init({
"model": {jsonPath:"https://unpkg.com/live2d-widget-model-chitose@1.0.5/assets/chitose.model.json","scale": 1 },
"display": { "position": "left", "width": 150, "height": 300,"hOffset": 0, "vOffset": -20 },
"mobile": { "show": true, "scale": 0.5 },
"react": { "opacityDefault": 0.7, "opacityOnHover": 0.2 } });
</script>
@小草上飞飞: 都是已经存在的模了那还用写什么代码呀