BeyondCodeBootcamp / BeyondCodeBootcamp/mvp.html
no-js tab switcher
Open
- Dominant language
- CSS
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.