Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 7, 2024
1 parent 7f410d2 commit c02b1ce
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<title>Firebase + Three.js</title>
<link rel="stylesheet" href="style.css"
<style>
/* Contenedor del menú */
.menu-item {
.menu-item {
background-color: #3498db;
clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
padding: 10px;
Expand All @@ -27,34 +26,15 @@
.hidden-input {
display: none;
}
body {
margin: 0;
font-family: Arial, sans-serif;
}
.screen {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
color: #fff;
}
.active {
display: block;
}
</style>
</style>
</head>
<body>
<div id="menu-button">Abrir Menú</div>
<div id="menu-container">
<input type="checkbox" id="toggle" class="hidden-input">
<label for="toggle" class="menu-item" data-action="option1">
<span>🔧</span> Opción 1
</label>
<input type="checkbox" id="toggle" class="hidden-input">
<div class="menu-content">
<p>Este es el contenido desplegable.</p>
<div class="menu-item" data-action="option2">
<span>🎵</span> Opción 2
</div>
Expand Down

0 comments on commit c02b1ce

Please sign in to comment.