Circle-Menu 1.00
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dynamic Bottom-Aligned Round Menu</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
margin: 0;
font-family: Arial, sans-serif;
}
.menu {
position: relative;
width: 400px;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
perspective: 1000px;
}
.menu-item {
position: absolute;
width: 100px;
height: 100px;
background: #f5f5f5;
border: 2px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 16px;
font-weight: bold;
color: #333;
transition: background-color 0.2s, transform 0.3s, box-shadow 0.3s, z-index 0.3s;
border-radius: 50%;
transform-origin: center center;
z-index: 1;
cursor: pointer;
}
.menu-item:hover {
background-color: red;
color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.menu-item.selected {
background-color: #000;
color: #fff;
transform: scale(1.1);
z-index: 10;
}
.menu-text {
display: inline-block;
}
.submenu {
position: absolute;
width: 150px;
height: 150px;
border-radius: 50%;
background: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: none;
transform:...