Tag

Responsive Design

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 9, 2025 · Frontend Development

Understanding CSS Container Queries: Usage, Syntax, and Browser Compatibility

This article explains what CSS container queries are, how they differ from media queries, provides practical code examples and syntax details, and summarizes current browser support on both desktop and mobile platforms, helping developers create adaptable component layouts.

CSSContainer QueriesResponsive Design
0 likes · 9 min read
Understanding CSS Container Queries: Usage, Syntax, and Browser Compatibility
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 3, 2025 · Frontend Development

Using CSS Grid auto-fill and auto-fit for Responsive Card Layouts

This article explains how to use CSS Grid's auto-fill and auto-fit functions with the repeat and minmax syntax to create responsive card layouts that automatically adapt to different screen widths without media queries, including code examples and guidance on when to choose each option.

CSSResponsive Designauto-fill
0 likes · 8 min read
Using CSS Grid auto-fill and auto-fit for Responsive Card Layouts
Code Mala Tang
Code Mala Tang
Apr 23, 2025 · Frontend Development

Discover the Revolutionary CSS view() Function for Seamless Responsive Design

This article introduces the new CSS view() function that calculates element dimensions from viewport data using min, ideal, and max values, enabling fluid, breakpoint‑free layouts, and covers its syntax, practical examples, browser support, and how to implement feature detection for modern web design.

CSSCSS FunctionsResponsive Design
0 likes · 5 min read
Discover the Revolutionary CSS view() Function for Seamless Responsive Design
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 23, 2025 · Frontend Development

Comprehensive Guide to CSS Grid Layout: Responsive Design, Implicit/Explicit Grids, Alignment, and Advanced Techniques

This article provides an in‑depth tutorial on CSS Grid, covering responsive layouts with media queries, auto‑fit/minmax tricks, implicit versus explicit grids, column spanning, alignment properties, place‑content shortcuts, repeat syntax, masonry rows, and useful online resources, all illustrated with practical code examples.

CSSCSS GridResponsive Design
0 likes · 9 min read
Comprehensive Guide to CSS Grid Layout: Responsive Design, Implicit/Explicit Grids, Alignment, and Advanced Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 14, 2025 · Frontend Development

A Comprehensive Guide to CSS Grid Layout: Fundamentals, Advanced Techniques, and Practical Examples

This article provides an in‑depth tutorial on CSS Grid, covering its basic syntax, column and row definitions, fractional units, gaps, implicit and explicit tracks, repeat functions, item placement, grid areas, accessibility concerns, and includes multiple code demos to illustrate each concept.

CSS GridResponsive DesignWeb Development
0 likes · 11 min read
A Comprehensive Guide to CSS Grid Layout: Fundamentals, Advanced Techniques, and Practical Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 10, 2025 · Frontend Development

Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design

This article explains how to create a custom PostCSS plugin for Vite that converts pixel units to viewport width units, covering meta tag setup, plugin configuration, TypeScript implementation, handling multi‑value properties, and troubleshooting conversion issues.

CSSPostCSSResponsive Design
0 likes · 8 min read
Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 7, 2025 · Frontend Development

Responsive H5 Page Design: Converting px to rem and Dynamically Adjusting Root Font Size

This article explains how to create H5 pages that adapt to any screen size by replacing absolute pixel units with relative rem units, adjusting the root font-size via JavaScript, and demonstrates responsive layouts with practical code examples.

CSSResponsive Designpx
0 likes · 11 min read
Responsive H5 Page Design: Converting px to rem and Dynamically Adjusting Root Font Size
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 22, 2025 · Frontend Development

Responsive Card Layout with Flexbox: Solving Alignment and Wrapping Issues

This article explains how to create a responsive grid of fixed‑width cards using CSS Flexbox, discusses common alignment problems when the number of cards changes, and presents several solutions—including adjusting justify‑content, using nth‑child selectors, and wrapping the container in an overflow‑hidden parent—to achieve consistent layout across varying screen sizes.

CSSFlexboxResponsive Design
0 likes · 6 min read
Responsive Card Layout with Flexbox: Solving Alignment and Wrapping Issues
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 14, 2025 · Frontend Development

Handling Overflow in Flexbox: Preventing Fixed-Width Elements from Being Crushed

This article explains why a flex:1 element can cause a fixed-width sibling to be squeezed when its child exceeds the container width, and presents solutions such as using overflow:hidden, width:0, min-width:0, and analogous vertical-direction fixes.

CSSFlexboxOverflow
0 likes · 8 min read
Handling Overflow in Flexbox: Preventing Fixed-Width Elements from Being Crushed
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 27, 2024 · Frontend Development

Creating a Responsive Masonry Layout with CSS Columns, Grid, and Flexbox

This article explains how to build a responsive, order‑agnostic masonry (waterfall) layout using CSS columns, and compares it with grid and flexbox approaches, providing concise code examples, responsive tweaks with @media, and discusses advantages, drawbacks, and browser compatibility.

CSSColumnsFlexbox
0 likes · 6 min read
Creating a Responsive Masonry Layout with CSS Columns, Grid, and Flexbox
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 7, 2024 · Frontend Development

Comprehensive TailwindCSS Styling Guide: Width, Height, Layout, Spacing, Borders, Typography and More

This article provides a thorough, step‑by‑step tutorial on TailwindCSS styling utilities—including preset width/height, custom values, viewport units, max/min dimensions, size shortcuts, margin/padding/space, border and divide utilities, outline, font sizing, weight, tracking, line‑height, text alignment, colors, overflow handling, wrapping and whitespace control—complete with code examples and visual demos.

CSSResponsive DesignStyling
0 likes · 12 min read
Comprehensive TailwindCSS Styling Guide: Width, Height, Layout, Spacing, Borders, Typography and More
iKang Technology Team
iKang Technology Team
Nov 7, 2024 · Frontend Development

Overview of H5 (HTML5) Technology: Advantages, Design Principles, Development Modes, and Common Issues

HTML5 provides a cross‑platform, multi‑device web standard with rich media and interactivity, offering responsive design, flexible layouts, and resource adaptation, while supporting native, hybrid, and framework development modes; however, developers must address security, legacy browser compatibility, performance, SEO, and platform‑specific integration challenges.

FrameworksFront-End DevelopmentHTML5
0 likes · 8 min read
Overview of H5 (HTML5) Technology: Advantages, Design Principles, Development Modes, and Common Issues
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 5, 2024 · Frontend Development

Comprehensive Guide to Using iframe in Web Frontend: Responsive Sizing, Dynamic Height, Cross‑Domain Communication, and Security

This article provides a detailed tutorial on iframe usage in web front‑end development, covering responsive sizing based on the parent window, dynamic height adjustment via postMessage, handling HTTP/HTTPS mismatches, cross‑origin issues, and security considerations such as X‑Frame‑Options.

Cross-OriginNginxProxy
0 likes · 13 min read
Comprehensive Guide to Using iframe in Web Frontend: Responsive Sizing, Dynamic Height, Cross‑Domain Communication, and Security
php中文网 Courses
php中文网 Courses
Nov 1, 2024 · Frontend Development

Vue.js and Element UI Course Overview

This Vue.js and Element UI course teaches fundamental concepts, component development, state management, routing, and extensive Element UI component usage, enabling learners to build responsive, interactive modern web applications and establish a solid foundation for a frontend development career.

Component LibraryElement UIFrontend Development
0 likes · 3 min read
Vue.js and Element UI Course Overview
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2024 · Frontend Development

Flexbox vs Grid: Layout Techniques, Code Samples, and Responsive Design

This article compares Flexbox and CSS Grid for creating grid‑style, backend admin, and responsive layouts, provides complete HTML/CSS code examples for each approach, discusses compatibility issues, and explains when to choose one technique over the other.

CSSFlexboxResponsive Design
0 likes · 9 min read
Flexbox vs Grid: Layout Techniques, Code Samples, and Responsive Design
JD Tech
JD Tech
Sep 20, 2024 · Frontend Development

Flex Layout and Dynamic UI Development in JD Financial Application

This article explains how JD Financial's dynamic UI framework uses standard Flex layout (with Yoga as a cross‑platform engine) to build responsive container and item structures, details common Flex properties, list and absolute layouts, view visibility controls, and provides practical troubleshooting guidance for complex layouts.

Responsive DesignUI DevelopmentYoga Layout
0 likes · 18 min read
Flex Layout and Dynamic UI Development in JD Financial Application
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 6, 2024 · Frontend Development

Comprehensive Guide to CSS Grid Layout: Concepts, Syntax, and Practical Examples

This article provides an in‑depth tutorial on CSS Grid layout, covering its advantages over Flexbox, compatibility, container setup, row and column definitions, sizing units, gaps, element positioning, naming conventions, area declarations, auto‑flow behavior, alignment properties, and automatic placement with numerous code examples.

CSSCSS GridResponsive Design
0 likes · 25 min read
Comprehensive Guide to CSS Grid Layout: Concepts, Syntax, and Practical Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 9, 2024 · Frontend Development

Implementing a Waterfall Layout with Virtual List in Vue3 and TypeScript

This article provides a step‑by‑step guide on building a responsive waterfall (masonry) layout combined with a virtual list in Vue 3 using TypeScript, covering data preparation, container sizing, position calculation, infinite scroll loading, handling variable card heights, and responsive column adjustments.

Infinite ScrollResponsive DesignTypeScript
0 likes · 24 min read
Implementing a Waterfall Layout with Virtual List in Vue3 and TypeScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 25, 2024 · Frontend Development

Why a 0.5px Border Renders as 1px and How to Fix It

This article explains why CSS borders set to 0.5px often appear as 1px on various devices, discusses browser rendering and device pixel ratio issues, and provides five practical solutions—including pseudo‑elements, shadows, SVG, and container tricks—to achieve sub‑pixel borders in H5 layouts.

CSSResponsive DesignWeb Development
0 likes · 6 min read
Why a 0.5px Border Renders as 1px and How to Fix It
DaTaobao Tech
DaTaobao Tech
Mar 8, 2024 · Frontend Development

CSS Grid Layout for E‑commerce Product Cards

The article shows how using CSS Grid instead of nested Flex containers can halve the HTML and CSS needed for e‑commerce product cards by defining rows and columns, simplifying markup to a few elements while preserving layout for images, titles, prices, badges, and actions.

CSSCSS GridFront-end
0 likes · 9 min read
CSS Grid Layout for E‑commerce Product Cards