Before you start
- The card class or component.
- Several representative content lengths.
- For direct mode: a global stylesheet and Node.js.
How to do it
- Identify the shared card container and the elements that should align.
- Use direct mode for the border-radius change; use AI mode for a complete treatment of border, padding, and interaction states.
- Check at least one long title and one card without an image.
- Reduce the viewport width and confirm cards remain readable without horizontal overflow.
Before & after
.card { border-radius: 16px; }Cards share the requested corner treatment. A larger redesign should also keep padding and content alignment consistent.
Use with an AI coding tool
1 Describe your change
Use your own words. You do not need a file name. The prompt asks the AI to preserve unrelated work.
We remember this choice on this device. Choosing a tool does not connect it to this website.
2 Copy your prompt
Read the complete prompt below, then copy it.
3 Paste into your AI coding tool
Open your website or app project in your AI coding tool. Paste this into its AI chat box and send it. The tool needs access to your project files to make changes.
A website address alone does not give an AI permission or access to edit it. This prompt goes into an AI chat, not a regular terminal window.
4 Check the result
Check unequal content lengths, focus behavior, and responsive spacing.
Open your project preview and try the change. Review what changed before publishing. If it is wrong, use your tool’s undo or restore your saved project version.
If the result is not what you expected
Images have square corners
The image may need its own radius or a carefully chosen clipping wrapper. Do not clip focus outlines.
Equal heights cut off text
Avoid fixed heights that hide real content. Use layout alignment instead.
Undo the change
Restore the card styles or remove the labelled CSS block without changing the card content.
References & testing
The examples above explain the expected behavior; they are not a claim that this prompt has been tested in every framework or AI model. The direct tool uses our shared local-edit engine; native Windows execution remains unverified.