@font-face { font-family: 'MyFont'; src: url('./assets/HarmonyOS_Sans_SC_Regular.ttf') format('truetype'); } *{ padding: 0; margin: 0; font-family: 'MyFont'; overflow: hidden; } ul { list-style: none; display: flex; gap: 12px; flex-direction: column; flex-wrap: nowrap; } li.left { direction: ltr; } li.left span { font-size: 18px; color: #FFF; } li.left div { padding: 22px; border-radius: 4px 32px 32px 32px; background: #FFF; text-align:justify; font-size: 22px; color: #000; width: fit-content; display: flex; user-select: none; flex-direction: row; } li.left img { border-radius: 24px; } li.right { text-align: right; direction: rtl; } li.right span { font-size: 18px; color: #C8A271; direction: ltr; } li.right div { border-radius: 32px 4px 32px 32px; border: 1px solid rgba(255, 255, 255, 0.40); background: linear-gradient(90deg, #CFA876 0%, #9A7C4D 100%); padding: 22px; font-size: 22px; color: #FFF; width: fit-content; user-select: none; direction: ltr; } .content { position: absolute; border-radius: 12px; border: 2px solid #FFDF97; background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.20) 100%); backdrop-filter: blur(20px); padding: 28px; overflow: auto; } .content::-webkit-scrollbar { display: none; } @keyframes myAnimation { 0% { transform: translateX(-27px) scaleY(1); } 50% { transform: translateX(-27px) scaleY(0.7); } 100% { transform: translateX(-27px) scaleY(1); } } .muice { animation: myAnimation 1s infinite; /* 设置动画为2秒钟的时间,并无限循环 */ } .scroll-img { margin-right: 12px; border-radius: 4px; } .scroll-wrapper { white-space: nowrap; overflow:auto; } .scroll-container { width: 535px; } .scroll-wrapper::-webkit-scrollbar { display: none; }