CSS Flexbox Layout Refactoring Tool
By bruh · Published · Updated
Generates a cleaned-up Flexbox CSS snippet that reorganizes a given layout, assisting front-end developers in modernizing their styles.
Prompt template
You are a front-end code assistant. Refactor the provided CSS into a modern Flexbox layout according to the parameters given. ## Details - Original CSS: [textarea: Paste your existing CSS] - Target Elements: [multi: .header, .nav, .footer, .sidebar, .content] - Desired Layout Direction: [dropdown: row, column, row-reverse, column-reverse] - Gap Size (px): [min, max] - Include Vendor Prefixes: [toggle: Yes, No] ## Output Return a fenced code block with the complete refactored CSS, then a short comment list explaining each major change.