Needed to use CSS subgrid. Found it confusing. Custom "lights-on" language helped:
- grid aligns its children
- subgrid aligns sibling grids, inside a grid, with each other
- aligning subgrids give rise to aligned subgrid, inside a grid
Subgrid syncs parent gridās itemsā grids.
Accidentally discovered that, on OS X, it's possible to drag a window (e.g. Chrome tab running localhost) into a full screen already occupied by another application (e.g. VS Code) for a full screen view of both. No need to navigate between two spaces. Neat.
Some VS Code dark themes dim .gitignore files to unreadable levels in the Explorer.
Fix it in your settings.json:
`"workbench.colorCustomizations": {
"gitDecoration.ignoredResourceForeground": "#68717b"
}`
TIL a sweet VS Code customization:
Active editor (tab) can automatically maximize itself. That's right! Here's how:
1) Shift CMD P to run Command Palette
2) type "max" to see & select "View: Maximize Editor Group"
That's it. Enjoy
#vscode
A weekend on a tiny, forested, rocky island. Campfire, chitchat, stars, beers .. a buddy mentions in passing @HardcoreHistory
Back at home, curious, I look it up & start listening
Discovery: I never consumed anything actually *riveting* until this
dancarlin.com/hardcore-histoā¦
regardless of familiarity with, interest in (history, character of) CSS, you will enjoy seeing this vid
might be the only mesmerizingly mellifluously lucid presentation on a topic I've ever experienced :)
@MiriSuzanne
thx @KevinJPowell for the link
youtu.be/aHUtMbJw8iA
it's quite satisfying to return to your own old code (complex, interdependent validations) & understand it right away & squish a bug there in a few moments
because the code (names of variables & methods) reads like a short story
especially if this was intended
love it, really
playing with top, right, bottom & left values of absolutely positioned .child nested inside absolutely positioned .parent
while
playing with top, right, bottom & left values of the .parent ..
.foo
.bar
.baz
&
.foo { .. display: flex; .. }
.bar { .. position: relative; .. }
.baz { .. display: flex; .. position: absolute; .. }
do not play nice together
a flex baz anchored to bar inside a flex foo does not flex its children as expected
Ex. nested nav menus