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 7ac9a1e commit e23c09b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
position: absolute;
bottom: 2%;
left: 2%;
background: rgba(0, 0, 0, 0.8);
padding: 10px;
border-radius: 8px;
z-index: 100; /* Siempre por encima */
display: flex;
flex-direction: column;
Expand All @@ -21,6 +18,8 @@

/* Estilo de las opciones del menú */
.menu-item {
background-color: #3498db;
clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
display: flex;
align-items: center;
justify-content: flex-start;
Expand Down Expand Up @@ -50,12 +49,20 @@
/* Contenido desplegable */
.menu-content {
display: none;
flex-direction: column;
gap: 10px;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8); /* Mantener el fondo oscuro */
padding-top: 60px; /* Asegura un pequeño espacio en la parte superior */
box-sizing: border-box;
}

#toggle:checked ~ .menu-content {
display: flex;
flex-direction: column;
gap: 10px;
}

.hidden-input {
Expand Down

0 comments on commit e23c09b

Please sign in to comment.