GitLab Well Architected
Cookbook navigation
Prompts / Implement Responsive Layout

Implement Responsive Layout

Design & UXArchitecturePerformanceCreateBeginner

Make layouts work across all screen sizes with optimized touch targets and performance.

For GitLab Duo

prompt

Make this layout responsive:

[PASTE CURRENT CODE]

Support:
1. Mobile (320-767px)
2. Tablet (768-1023px)
3. Desktop (1024px+)

Optimize:
1. Layout adaptation
2. Touch targets
3. Performance
4. Readability

Use the prompt

Share the current markup and styles along with the content that must fit. Review the result at intermediate widths too, where long labels or crowded controls often expose layout problems.