feat: rebuild as a modern archive with then vs now demos - #66
Merged
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pure CSS Components (2014) was decaying:
This rebuilds the site as an archive: the six original components are kept working as they were written, each shown next to how HTML and CSS build it natively today.
<details name>,::details-content<details>laid out as tabs<dialog>+ invoker commands,@starting-style:hoverinterestfor:hover+::afterpopover="hint"+interestfor+ anchor positioning::scroll-button/::scroll-markerEach native feature lists its real support status. Features that aren't Baseline sit behind
@supports, so they still work where support is missing.Born native (new)
A new section with 10 components that have no 2014 version, built with HTML and CSS only, no JavaScript. Each one lists where it works today:
appearance: base-select,::picker(select),<selectedcontent><input switch>,:has()field-sizing: content,:user-invalid<details>,::details-content<dialog closedby>+ invoker commands,@starting-style@container scroll-state(stuck / scrolled)scroll-target-group,:target-currentanimation-timeline: scroll()/view()sibling-index(),sibling-count(),cos()/sin()Also in this PR:
What changed
:has(), the 2014 trick.src/exhibits/<name>/. The same file is rendered and shown as highlighted code, and@scopeisolates each demo. This replaces the hand-escaped duplicate snippets./why/, old/story/redirects) in English, opening with the 2012 pure-CSS Cartman, with links to the originals in Portuguese./build/*.zipURLs 301 there./build/<name>/<name>.cssis still served for hotlinks.netlify.tomland basic security headers. No CSP, because it would block the AdSense snippet Netlify injects.Verification
pnpm lint,pnpm build(astro checkincluded): clean.pnpm audit: 0 vulnerabilities.Before merge
src/pages/why.md). It's written in your voice from the 2014 post.After merge
🤖 Generated with Claude Code