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 537fdb9 commit 7f410d2
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Firebase + Three.js</title>
<link rel="stylesheet" href="style.css"
<style>
<!-- Contenedor del menú -->
menu-item {
<style>
/* Contenedor del menú */
.menu-item {
background-color: #3498db;
clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
padding: 10px;
Expand All @@ -27,7 +27,6 @@
.hidden-input {
display: none;
}

body {
margin: 0;
font-family: Arial, sans-serif;
Expand All @@ -45,31 +44,28 @@
.active {
display: block;
}
</style>
</style>
</head>
<body>

<div id="menu-button">Abrir Menú</div>
<div id="menu-container">
<div id="menu-container">
<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>
<div class="menu-item" data-action="option3">
<span>📷</span> Opción 3
</div>
<div class="menu-item" data-action="option4">
<span>⚙️</span> Opción 4
</div>



<span>🎵</span> Opción 2
</div>
<div class="menu-item" data-action="option3">
<span>📷</span> Opción 3
</div>
<div class="menu-item" data-action="option4">
<span>⚙️</span> Opción 4
</div>
</div>
</div>


<script type="module" src="js/app.js"></script>
Expand Down

0 comments on commit 7f410d2

Please sign in to comment.