I want to create an extension that can inspenct my html elements and it can recursively…
- User
I want to create an extension that can inspenct my html elements and it can recursively deep dow to the last node and can give me like this prompt so that i can give it to recretate the ui
also it can seach for animations taht are applied to that can can copy that also it should work for HTML CSS JSS and next js or any web animation
Recreate this UI to match the reference below in MY project's existing stack (React, Vue, Svelte, plain HTML/CSS/JS, Tailwind, CSS Modules, etc. — detect from the codebase). Do not assume a framework. Prefer existing components and design tokens when available. Match structure, typography, colors, spacing, layout, and images exactly. No screenshot is attached — use this spec as the source of truth.
Goal
Pixel-faithful recreation of the selected element and its nested content. Typography sizes in "Nested text & styles" are authoritative. Images in "Images & media" are required.
Structure (framework-agnostic)
- Root tag: shreddit-subreddit-header
- Classes (hints only, may be framework-specific): nd:flex, nd:visible, [&:not(:defined)_.community-details]:hidden
- Selector path: shreddit-app.overflow-visible.pt-[var(--page-y-padding)].nd-visible div.grid-container.theme-rpl.grid.flex-nav-expanded div#subgrid-container.subgrid-container.m:col-start-2.box-border.flex.flex-col.order-2.w-full.m:w-[1120px].xs:px-md.m:px-lg.mx-auto.min-h-[calc(100dvh_-_var(--shreddit-header-height))].justify-stretch div.main-container.gap-lg.w-full.flex-1.grid.place-content-between.grid-cols-[minmax(0,1fr)].fixed-sidebar.xs:[&.fixed-sidebar]:grid-cols-[minmax(0,756px)_minmax(0,316px)].xs:[&.flex-sidebar]:grid-cols-[minmax(0,756px)auto] div#right-sidebar-container.right-sidebar.min-w-0.w-full.xs:w-[316px].xs:max-w-[316px].pb-xl.xs:pb-0.block div#right-sidebar-contents.right-sidebar-contents.flex-auto faceplate-partial#subreddit-right-rail__partial aside.bg-neutral-background-weak.rounded-2.py-md.hidden.xs:block div.py-md.xs:block shreddit-subreddit-header.nd:flex.nd:visible.[&:not(:defined).community-details]:hidden
- Breadcrumbs: shreddit-app > div > div > div > div > div > faceplate-partial > aside > div > shreddit-subreddit-header
- Size: 316 × 322px
- Visible text: "Join Discord Created Jun 24, 2021 5 years ago Public Anyone can view, post, and comment to this community 107K 3K"
Root visual contract
Typography (root only — children often differ; see nested section)
- Font family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif
- Font size: 14px
- Font weight: 400
Colors
- Text: #333d42 (rgb(51, 61, 66))
- Background: #000000 (rgba(0, 0, 0, 0))
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.