Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 7, 2024
1 parent dd161dc commit 4c738b4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#menu-container {
position: absolute;
bottom: 2%;
left: 2;
clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
left: 2%; /* Corrige la propiedad left */
clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
background: rgba(0, 0, 0, 0.8);
padding: 10px;
border-radius: 8px;
Expand All @@ -20,7 +20,7 @@ clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
justify-content: flex-start;
padding: 10px;
color: white;
transform: rotate(-12deg)
transform: rotate(-12deg); /* Falta punto y coma */
font-size: 18px;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.3);
Expand All @@ -32,12 +32,16 @@ clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
.menu-item span {
margin-right: 10px;
font-size: 20px;
transform: rotate(-10deg)
transform: rotate(-10deg); /* Falta punto y coma */
}

/* Efecto hover */
.menu-item:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateX(10px);
transform: rotate(-10deg)
transform: translateX(10px) rotate(-10deg); /* Se combina en una declaración */
}

/* Contenido desplegable */
.hidden-input:checked + .menu-content {
display: block;
}

0 comments on commit 4c738b4

Please sign in to comment.