P
ProductiviteBeginnerAll AIs

Convert CSS to Tailwind

Migrate from standard CSS to Tailwind CSS

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Convert this CSS to equivalent Tailwind classes: [PASTE_CSS]. For non-standard values, use Tailwind arbitrary value classes [value]. If a CSS rule cannot be converted directly, explain why and suggest an alternative. Add appropriate responsive variants and pseudo-classes (hover, focus).

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Migrate from standard CSS to Tailwind CSS

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Indiquez la version de Tailwind (v3 ou v4) dans le prompt, car la syntaxe des variantes et des classes arbitraires a changé. Précisez aussi si vous utilisez un fichier de config personnalisé (couleurs, breakpoints). Sans cela, le modèle risque de produire des classes non reconnues ou des définitions incompatibles avec votre projet.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

ProductiviteBeginnerAll AIs

Write an Impactful Professional Apology Email

This prompt generates a structured professional apology email adapted to context, preserving credibility and the relationship with the recipient.

0401
ProductiviteBeginnerAll AIs

Social Reflection Questions

Social learning

0201
ProductiviteIntermediateAll AIs

Respond to a Difficult Email with Diplomacy and Confidence

A comprehensive prompt to draft a professional, measured response to a difficult email, maintaining control of tone and situation.

0491
ProductiviteBeginnerAll AIs

Synthetic Conclusion

Conclusion writing

0253