BeyondCodeBootcamp / BeyondCodeBootcamp/mvp.html
no-js tab switcher
- Lingua principale
- CSS
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Re: https://stackoverflow.com/a/71008554
```css
dialog { display: block; }
dialog:not(:target):not([open]) { display: none; }
```
```html
Dialog
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Close
```
Not sure if this would have to enumerate every hash target (ex: `#main`, `#settings`) or if this could be done by some sort of dynamic class selector, but this should allow tabs without JavaScript.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
No repository file or test is named; start by reviewing the existing boilerplate structure and the CSS/HTML examples in this issue. Determine how the tab targets should be represented, then verify that tabs can switch and close without JavaScript.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- css, html
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100