Skip to content

Add ::details-content page - #37118

Merged
chrisdavidmills merged 5 commits into
mdn:mainfrom
lukewarlow:details-content
Jan 3, 2025
Merged

chrisdavidmills merged 5 commits into
mdn:mainfrom
lukewarlow:details-content

Conversation

@lukewarlow

Copy link
Copy Markdown
Contributor

Description

Add a page for the new ::details-content pseudo element.

Motivation

To help web developers discover this new feature.

Additional details

Related issues and pull requests

Depends on: mdn/interactive-examples#2874

@lukewarlow
lukewarlow requested review from a team and chrisdavidmills and removed request for a team December 6, 2024 11:58
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs size/m [PR only] 51-500 LoC changed labels Dec 6, 2024
@github-actions

github-actions Bot commented Dec 6, 2024 •

Copy link
Copy Markdown
Contributor

Preview URLs

Flaws (48)

URL: /en-US/docs/Web/CSS/::details-content
Title: ::details-content
Flaw count: 48

  • macros:
    • Wrong xref macro used (consider changing which macro you use). Error processing path /en-US/docs/Learn/CSS
    • Wrong xref macro used (consider changing which macro you use). Error processing path /en-US/docs/Learn/Getting_started_with_the_web/CSS_basics
    • Wrong xref macro used (consider changing which macro you use). Error processing path /en-US/docs/Learn/CSS/First_steps
    • Wrong xref macro used (consider changing which macro you use). Error processing path /en-US/docs/Learn/CSS/First_steps/What_is_CSS
    • Wrong xref macro used (consider changing which macro you use). Error processing path /en-US/docs/Learn/CSS/First_steps/Getting_started
    • and 43 more flaws omitted

(comment last updated: 2025-01-03 16:35:12)

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @lukewarlow. I've got a few comments for you to consider, but nothing too major.

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukewarlow nice one.

I thought your updates looked great, but I thought the examples could use a bit of description/explanation. Because I worked on the allow-discrete animation stuff recently and it is still fresh in my head, I decided to edit the page directly and drop an explanation in. I hope that's OK with you.

I won't merge it yet, so you can check it out to make sure you are happy with it.

@chrisdavidmills

Copy link
Copy Markdown
Contributor

@lukewarlow, oooh, I also increased the transition duration to 600ms so that it is a bit easier to see what is happening. I also put the opacity transition first, as I thought it was easier to explain if I explained that one first.

@bsmth bsmth added the awaiting response Awaiting for author to address review/feedback label Dec 30, 2024
@bsmth

bsmth commented Jan 3, 2025

Copy link
Copy Markdown
Member

@chrisdavidmills shall we merge this one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting response Awaiting for author to address review/feedback Content:CSS Cascading Style Sheets docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants