Figma to Wordpress Elementor https://www.youtube.com/watch?v=rrd91OK9YYI&t=168s
I will provide a Figma design link
https://www.figma.com/design/qByCU9nBfcnZc7Dq7bM3vz/Boxchampy-tut?node-id=2-2&t=GktwCo8NkJkYck4P-4 (Copy as link selection?)
Your task is to generate a complete, production-ready HTML file with embedded CSS (inside one <style> tag) and minimal JavaScript (inside one <script> tag) — all in the same file. Requirements:
- The implementation must be pixel-perfect (1:1) compared to the Figma design.
- Do not redesign, reinterpret, or improve anything. Reproduce exactly what is in Figma.
- Use semantic HTML5 structure (header, nav, section, main, footer, etc.).
- Do not use any frameworks (no Tailwind, no Bootstrap). Pure HTML, CSS, and minimal vanilla JavaScript only.
- All CSS must be written manually inside one <style> tag.
- The layout must be fully responsive:
- Desktop (default styles)
- Tablet (max-width: 1024px)
- Mobile (max-width: 768px)
- Use Flexbox and/or CSS Grid where appropriate.
- Maintain exact:
- spacing
- font sizes
- font weights
- colors
- border radius
- shadows
- line heights
- Extract reusable design tokens into :root variables:
- colors
- font sizes
- spacing
- Use clean BEM methodology for class naming.
- Images must use proper
tags with descriptive alt attributes.
- Follow modern CSS best practices. Navbar Requirements:
- On desktop: standard horizontal navigation layout.
- On tablet and mobile (max-width: 1024px):
- Replace navigation links with a hamburger button.
- The hamburger must toggle the visibility of the navigation menu.
- The menu must expand/collapse smoothly (CSS transition required).
- Use minimal vanilla JavaScript for toggle functionality.
- The menu must be accessible (aria-expanded, proper button element).
- No external libraries.
- Do not add features that are not present in the Figma design.
- If spacing or font size is unclear, calculate proportionally from the design instead of guessing.
- If something from the Figma link cannot be accessed, state what is missing before generating code.
- Output only the final complete HTML file. No explanations.