- Features are built without JS first
- Progressive enhancement
Consider elements' relationship to the DOM
- Minimum HTML generation
- Leave styling to CSS classes
- Create all necessary markup in the HTML document
- Rely on native elements as much as possible (not reimplementing what native elements already know how to do)
- Not using frameworks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#main .grid { | |
max-width: 100vw !important; | |
} | |
.video-wrapper .large-10, | |
video { | |
flex-basis: auto !important; | |
max-width: 98vw !important; | |
width: 98vw !important; | |
} |
Update: See https://github.com/muan/details-on-details instead.
I did a talk at Brooklyn JS called Details on <details>
on 2018/07/19. I have way more details prepared than the ones that fit in the slides, so here's the real details on <details>
. ❤️
– @muan