html嵌入2d動圖

Model

<html>
    <head>
        <script src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.min.js"></script>
        <style>
            .live2d-widget-dialog-container {
              width: 300px;
              height: 120px;
              position: absolute;
              bottom: 65%;
              right: 0px;
              transform-origin: right;
              padding: 12px;
              box-sizing: border-box;
              -webkit-font-smoothing: antialiased;
            }
            .live2d-widget-dialog {
              width: 100%;
              height: 100%;
              color: #917159;
              font-size: 16px;
              padding: 12px;
              border: 2px solid rgb(236, 203, 180);
              background: rgba(236, 203, 180, 0.14);
              box-sizing: border-box;
              border-radius: 10px;
              transform: rotate(-2deg);
              opacity: 0;
              
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章