PHP WebShell
Текущая директория: /var/www/bitcardoApp/Old folder
Просмотр файла: test.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Click Bubbles</title>
<style>
body {
margin: 0;
height: 100vh;
overflow: hidden;
background: #f0f8ff;
cursor: pointer;
}
.bubble {
position: fixed;
border-radius: 50%;
pointer-events: none;
animation: pop-bubble 1s ease-out forwards;
z-index: 9999;
}
@keyframes pop-bubble {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(3);
opacity: 0.6;
}
100% {
transform: scale(5);
opacity: 0;
}
}
</style>
</head>
<body>
<button class="bubble">Click</button>
<script>
document.addEventListener('click', function(e) {
const bubble = document.createElement('div');
bubble.classList.add('bubble');
// Random size and color
const size = 6 + Math.random() * 14;
const color = `hsl(${Math.random() * 360}, 100%, 70%)`;
bubble.style.width = bubble.style.height = `${size}px`;
bubble.style.background = color;
bubble.style.left = `${e.clientX - size / 2}px`;
bubble.style.top = `${e.clientY - size / 2}px`;
document.body.appendChild(bubble);
setTimeout(() => {
bubble.remove();
}, 1000);
});
</script>
</body>
</html>
Выполнить команду
Для локальной разработки. Не используйте в интернете!