Dropdown mit eigenem Link (nur css + html)
bearbeitet von beatovichhallo
> Hallo beatovich,
>
> > .dropdown:hover
>
> Ich hätte da eine Idee, was er vorhat.
Das ist kaum das Code-Gemüse wert
~~~html(not_really)
<nav>
<a href="1">...
<ul>
<li><a href="1a"> ...
~~~
Da reicht schon
nav:focus-within a:focus, nav ul:focus-within {}
--
<https://beat-stoecklin.ch/pub/index.html>
Dropdown mit eigenem Link (nur css + html)
bearbeitet von beatovichhallo
> Hallo beatovich,
>
> > .dropdown:hover
>
> Ich hätte da eine Idee, was er vorhat.
Das ist kaum das Code-Gemüse wert
~~~html(not_really)
<nav>
<a href="1">...
<ul>
<li><a href="1a"> ...
~~~
Da reicht schon
nav:focus-within a:focus + ul{}
--
<https://beat-stoecklin.ch/pub/index.html>