mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 03:20:02 +00:00
modified on Pad
This commit is contained in:
@@ -280,4 +280,4 @@ window.ap_init = ap_init;
|
|||||||
window.initWidget = initWidget;
|
window.initWidget = initWidget;
|
||||||
|
|
||||||
|
|
||||||
console.log('\n' + ' %c Live2D with Music Player' + ' %c https://github.com/crowya/live2d ' + '\n', 'color: #fadfa3; background: #030307; padding:5px 0;', 'background: #fadfa3; padding:5px 0;');
|
console.log('\n' + ' %c Live2D with Music Player' + ' %c https://github.com/buriburizaem0n/live2d ' + '\n', 'color: #fadfa3; background: #030307; padding:5px 0;', 'background: #fadfa3; padding:5px 0;');
|
||||||
|
|||||||
@@ -126,6 +126,16 @@
|
|||||||
color: #0684bd; /* #34495e */
|
color: #0684bd; /* #34495e */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 当用户点击时(:active),让工具栏可见 */
|
||||||
|
#waifu:active #waifu-tool {
|
||||||
|
opacity: 1; /* 显示工具栏 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 保持触摸激活后工具栏显示出来(使用 :focus-within) */
|
||||||
|
#waifu:focus-within #waifu-tool {
|
||||||
|
opacity: 1; /* 工具栏保持显示 */
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes shake {
|
@keyframes shake {
|
||||||
2% {
|
2% {
|
||||||
transform: translate(.5px, -1.5px) rotate(-.5deg);
|
transform: translate(.5px, -1.5px) rotate(-.5deg);
|
||||||
|
|||||||
Reference in New Issue
Block a user