Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This blog application follows a modern, clean, and accessible design approach using Tailwind CSS. The design emphasizes readability, user-friendly interactions, and responsive layouts.
Sign in to like and favorite skills
This blog application follows a modern, clean, and accessible design approach using Tailwind CSS. The design emphasizes readability, user-friendly interactions, and responsive layouts.
bg-blue-600, hover:bg-blue-700, text-blue-600)text-gray-900, text-gray-600, text-gray-300, border-gray-200)bg-white) with subtle shadowstext-4xl font-bold text-gray-900text-xl font-semibold text-gray-900text-gray-600 text-sm or text-basetext-sm text-gray-500max-w-4xl mx-auto for main content areasgrid gap-6 md:grid-cols-2 lg:grid-cols-3p-6 for card content, px-6 py-3 for buttonsmb-4, mb-6, mb-8 for consistent vertical rhythm<%= link_to path, class: "inline-flex items-center px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-200" do %> <!-- SVG Icon (optional) --> <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="..."></path> </svg> Button Text <% end %>
<div class="bg-white rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300 overflow-hidden border border-gray-200"> <div class="p-6"> <!-- Card content --> </div> </div>
<div class="max-w-4xl mx-auto"> <div class="mb-8"> <h1 class="text-4xl font-bold text-gray-900 mb-4">Page Title</h1> <p class="text-lg text-gray-600 mb-6">Page description</p> <!-- Primary action button --> </div> </div>
<div class="grid gap-6 md:grid-cols-2 lg:grid-cols-3"> <!-- Grid items --> </div>
<div class="flex items-center justify-between text-sm text-gray-500"> <time datetime="<%= datetime %>" class="flex items-center"> <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <!-- Clock icon --> </svg> <%= formatted_date %> </time> </div>
hover:shadow-xl transition-shadow duration-300hover:bg-blue-700 transition-all duration-200hover:text-blue-600 transition-colorsfocus:outline-none focus:ring-2 focus:ring-blue-500 when customizingmd: prefix for tablet (≥ 768px)lg: prefix for desktop (≥ 1024px)md:grid-cols-2)lg:grid-cols-3)w-4 h-4 (small), w-5 h-5 (medium), w-6 h-6 (large)fill="none" stroke="currentColor" viewBox="0 0 24 24"<% if collection.empty? %> <div class="text-center py-12"> <svg class="w-16 h-16 mx-auto text-gray-300 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <!-- Relevant icon --> </svg> <h3 class="text-xl font-medium text-gray-900 mb-2">No Items Found</h3> <p class="text-gray-600 mb-6">Description of empty state</p> <!-- Call to action button --> </div> <% end %>
<article>, <time>, <main>, etc.)alt attributes to imagesdatetime attributes for time elementsduration-200 (fast), duration-300 (standard)transition-all, transition-shadow, transition-colors<input class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
space-y-4 or space-y-6shadow-md, hover:shadow-xlrounded-lg for cards, buttonsline-clamp-2, line-clamp-3 (ensure Tailwind line-clamp plugin is enabled)transform and opacity for animations when possibleRemember: Always prioritize user experience, accessibility, and maintainable code when implementing these designs.