Red de conocimientos turísticos - Problemas de alquiler - ¿Se puede utilizar CSS puro para implementar un menú desplegable deslizante cuando se desplaza el botón de navegación?
¿Se puede utilizar CSS puro para implementar un menú desplegable deslizante cuando se desplaza el botón de navegación?
lt;!DOCTYPE htmlgt;
lt;html lang="es"gt;
lt;headgt;
lt; meta charset="UTF-8"gt;
lt;titlegt;Documentlt;/titlegt;
lt;stylegt;
*{padding: 0; margen: 0; tamaño de fuente: 12px; }
ul, li{list-style: none;}
li{float: left width: 100px; 1px sólido; altura de línea: 40px; alineación de texto: centro; fondo: superior: 1px; : none;}
li: hover div{display: block;}
lt;/stylegt;
lt;/headgt;
lt;bodygt;
lt;ulgt;
lt;ligt;1111
lt;divgt;aaaalt;/divgt;
lt;/ligt;
lt;ligt;2222
lt;divgt;bbbblt;/divgt;
lt;/ligt;
lt;ligt;3333
lt;divgt;cccclt;/divgt;
lt;/ligt;
lt;ligt;4444
lt;divgt;ddddlt;/divgt;
lt;/ligt;
lt;/ulgt;
lt;/bodygt ;
lt;/htmlgt;