prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

I want you to act as a web developer and please write some code for me to create a lightbox effect for the images on the website.

I want you to act as a web developer and please write some code for me to create a lightbox effect for the images on the website.

邱
@loshu2003
11 months agoJanuary 8, 2026 at 01:02 AM
Coding•AI Tools

Content

I want you to act as a web developer and please write some code for me to create a lightbox effect for the images on the website.
Enable/disable animation:
When opened: The image should “inflate” from its thumbnail position to its final location (with a zoom animation), accompanied by a fade-in effect for the mask layer. This requires obtaining the position of the thumbnail using the `getBoundingClientRect()` method.
When closed: The animation plays in reverse, and the image shrinks back to its thumbnail size.
Animations require the use of transform and transition to achieve a smooth 60fps.
Navigation features:
If a page contains multiple lightbox images, support for “Previous” and “Next” buttons should be provided.
Use the keyboard arrow keys (left/right arrows) to switch between images.

Related Skills

Website Design Recreator Skill

Skill

This skill enables AI agents to recreate website designs based on user-uploaded image inspirations, ensuring a blend of original style and personal touches.

H@hrishirajnagawade
5

AST Code Analysis Superpower

Skill

AST-based code pattern analysis using ast-grep for security, performance, and structural issues. Use when (1) reviewing code for security vulnerabilities, (2) analyzing React hook dependencies or performance patterns, (3) detecting structural anti-patterns across large codebases, (4) needing systematic pattern matching beyond manual inspection.

Comments (0)

İ
@izzetemre
1

Accessibility Testing Superpower

Skill

Performs WCAG compliance audits and accessibility remediation for web applications. Use when: 1) Auditing UI for WCAG 2.1/2.2 compliance 2) Fixing screen reader or keyboard navigation issues 3) Implementing ARIA patterns correctly 4) Reviewing color contrast and visual accessibility 5) Creating accessible forms or interactive components

İ@izzetemre
1

seo-fundamentals

Skill

SEO fundamentals, E-E-A-T, Core Web Vitals, and 2025 Google algorithm updates

M@xenitv1
0