A moderator already decided this for you and deleted your answer, so it can't be undeleted unless they or another moderator decide to undelete it. To your comment about them not deleting other answers which repeat or iterate on existing solutions in that thread, moderators only delete answers that are flagged, or that they can tell are exact duplicate solutions (in the context of duplicate answers). It's a lot of work to go through pages of answers and check whether solutions are the same, even when you know the language well, so they tend to rely on users to flag existing content. That being said, if you see answers there or anywhere that repeat existing answers under the same question, please do flag them for a moderator and explain which answer(s) they duplicate, because no one likes duplicated answers.
It's worth mentioning that I also voted to delete it because it provided the exact same implementation as the answer from a year ago. Not just the same general idea; the exact same implementation:
.parent {
display: grid;
grid-template-rows: 0fr;
overflow: hidden;
transition: 1s;
}
.child {
min-height: 0;
}
.parent-but-activated {
grid-template-rows: 1fr;
}
The rest of the CSS is just stylistic/illustrative.
Now, this isn't a very in-depth solution in terms of lines of code, so I can understand the argument of "we both came up with the idea of rounded corners at the same time". Unfortunately, where answers on Stack Overflow are concerned, that doesn't mean you can still post the same solution later on; that's just repeating content.
However, I didn't vote to delete it just for this reason. As you mentioned, you got the solution from Chris Coyier. While I'm betting Chris got it from the other answerer's blog, which predates Chris' article linked from your answer, the other issue at play here is that you are just copying, wholesale, a solution from another site; wholesale copies of other peoples' content without added value or context is frowned upon at Stack Overflow, especially if you don't put the entire post in block quotes to indicate it's from somewhere/someone else, or mark it as a Community wiki answer (which is strongly recommended when you're sharing an answer that someone else came up with).
Others have already talked about the meta commentary regarding "finally, a CSS solution", which never belongs in any CSS answer to any question, even in cases where that statement is true.