2026 CSS Cheatsheet | SheCodes

Free cheatsheet · 39 snippets

SheCodes CSS Cheatsheet

SheCodes CSS cheatsheet

AI prompts that use CSS

All prompts

Create a page layout

“Create a responsive page layout with a [sidebar / header / grid] using CSS Grid or Flexbox. It should work on mobile, tablet, and desktop. On mobile, stack everything vertically. On desktop, show the full layout.”

Add a data table

“Create a reusable data table component with: column sorting (click header to sort), search/filter bar, pagination (10/25/50 per page), row selection with checkboxes, and action buttons (Edit, Delete) on each row. Style with Tailwind CSS. Make it responsive: on mobile, show a card layout instead of a table.”

Landing Page

“Create a landing page with Tailwind CSS. Include: 1) A hero section with a large heading, subtitle, and two buttons. 2) A features section with 6 cards in a 3-column grid. 3) A testimonials section with 3 cards. 4) A CTA banner with a gradient background. 5) A footer with 4 columns. Use purple (#8B5CF6) as the main color.”

Upload a screenshot and build it

“I'm uploading a screenshot of a website design I like. Please recreate this layout and visual style for my [type of project]. Use my color palette: Primary [#hex], Secondary [#hex], Background [#hex]. Use [font name] for headings and [font name] for body text. Match the spacing, typography hierarchy, and overall feel as closely as possible. Build it with Next.js and Tailwind CSS.”

Upload a Stitch design and build it

“I'm uploading a UI design I created in Google Stitch. Please recreate this exact design as a working website. Use my color palette: Primary [#hex], Secondary [#hex], Background [#hex]. Match the layout, fonts, spacing, and component styles as closely as possible. Build it with Next.js and Tailwind CSS.”

Build a landing page

“Create a landing page layout with these sections in order: navbar, hero with headline and CTA button, 3-column features grid, testimonials, pricing table with 3 tiers, FAQ accordion, and a footer. Make it fully responsive.”

👩‍💻

What is SheCodes?

SheCodes teaches coding skills to busy women
Start your dream career in tech

4.9/5, our workshops are highly recommended by
250,000+ women, including employees from these companies