ejercicio 3: seleccion de elementos con delegacion de eventos

This commit is contained in:
2026-05-24 14:50:02 -03:00
parent e2d03163cb
commit afda7e5f0d
3 changed files with 40 additions and 1 deletions

View File

@@ -3,3 +3,21 @@ div {
padding: 10px;
margin: 10px;
}
#listaItems {
list-style: none;
padding: 0;
}
#listaItems li {
cursor: pointer;
padding: 6px;
margin: 4px 0;
border: 1px solid #8a8a8a;
}
#listaItems li.seleccionado {
background-color: #7daa3c;
color: #ffffff;
}