<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>CSS on Dev Toolkit</title><link>https://wen.yunshangtool.cn/tags/css/</link><description>Recent content in CSS on Dev Toolkit</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 10 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wen.yunshangtool.cn/tags/css/index.xml" rel="self" type="application/rss+xml"/><item><title>CSS Grid vs Flexbox: When to Use Which Layout System</title><link>https://wen.yunshangtool.cn/posts/css-grid-vs-flexbox/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><guid>https://wen.yunshangtool.cn/posts/css-grid-vs-flexbox/</guid><description>Modern CSS offers two powerful layout systems: Flexbox and Grid. Both are essential tools, but knowing when to use each can significantly improve your code quality.
Flexbox is ideal for one-dimensional layouts - either a row or a column. Use it for navigation bars, card lists, centering content, and form layouts where elements need to grow or shrink dynamically.
CSS Grid excels at two-dimensional layouts where you need control over both rows and columns.</description></item><item><title>Modern Responsive Web Design Techniques</title><link>https://wen.yunshangtool.cn/posts/responsive-design-2026/</link><pubDate>Tue, 26 May 2026 00:00:00 +0000</pubDate><guid>https://wen.yunshangtool.cn/posts/responsive-design-2026/</guid><description>Responsive design has moved beyond simple media queries. Modern CSS provides powerful tools for creating truly adaptive layouts.
Container Queries: Unlike media queries that respond to viewport size, container queries respond to parent container size. This makes component-based responsive design much cleaner.
CSS Clamp(): The clamp() function combines min, ideal, and max values: font-size: clamp(1rem, 2.5vw, 2rem). This creates fluid typography that scales smoothly without breakpoints.
Grid Auto-Fill: grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) creates responsive grids without any media queries.</description></item><item><title>Core Concepts and Best Practices for Modern UI Development</title><link>https://wen.yunshangtool.cn/posts/tailwind-best-practices/</link><pubDate>Mon, 18 May 2026 00:00:00 +0000</pubDate><guid>https://wen.yunshangtool.cn/posts/tailwind-best-practices/</guid><description>Building modern user interfaces requires understanding both design principles and practical implementation techniques.
Design Systems: A design system provides consistent components, colors, spacing, and typography. It reduces decisions and speeds up development.
Component Architecture: Break UI into small, reusable components. Each component should have a single responsibility and be independently testable.
Responsive First: Start with the smallest screen and progressively enhance. This ensures your interface works everywhere.
Performance Matters: Minimize CSS and JavaScript bundle size, lazy load below-the-fold content, optimize images, and use modern formats like WebP.</description></item></channel></rss>