Tagged articles
14 articles
Page 1 of 1
大转转FE
大转转FE
Aug 26, 2025 · Frontend Development

Optimizing H5 Pages for Foldable Screens with PostCSS, VW, and Flexible.js

This article explains how to adapt H5 product detail pages for foldable devices by comparing PostCSS‑to‑vw, CSS media queries, and a flexible.js + postcss‑px‑to‑rem workflow, then shows how to add foldable‑screen detection logic and layout tweaks to improve readability and content density.

Responsive DesignViewport Unitscss media queries
0 likes · 15 min read
Optimizing H5 Pages for Foldable Screens with PostCSS, VW, and Flexible.js
JavaScript
JavaScript
Dec 24, 2024 · Frontend Development

Master Mobile Web Adaptation: Proven Frontend Techniques

This guide outlines essential mobile‑frontend strategies—including viewport configuration, rem‑based flexible layouts, media queries, 1 px border fixes, safe‑area handling, responsive images, landscape support, and soft‑keyboard adjustments—providing complete code snippets to ensure seamless adaptation across diverse devices.

Media QueriesMobilefrontend
0 likes · 7 min read
Master Mobile Web Adaptation: Proven Frontend Techniques
21CTO
21CTO
Sep 5, 2024 · Frontend Development

Mastering CSS rem Units: Responsive Font Sizing Made Simple

This article explains the CSS rem unit, demonstrates how it relates to the root element's font size, and shows practical examples using vw and clamp() to create fluid, responsive typography across different screen sizes.

CSSResponsive Designfont size
0 likes · 5 min read
Mastering CSS rem Units: Responsive Font Sizing Made Simple
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 24, 2023 · Frontend Development

Screen Size Compatibility and Responsive Design in Front-End Development

This article explains the challenges of screen‑size compatibility for front‑end developers, analyzes current device resolutions and aspect ratios, and provides practical solutions such as viewport meta tags, media queries, adaptive units, responsive layouts, device simulation tools, and safe‑area handling for modern browsers and mobile devices.

Media QueriesVWrem
0 likes · 17 min read
Screen Size Compatibility and Responsive Design in Front-End Development
Beike Product & Technology
Beike Product & Technology
Dec 19, 2020 · Frontend Development

Master Mobile H5 Layout: 5 Proven Adaptation Techniques Explained

This guide compares five mobile H5 layout adaptation methods—percentage, rem, vw/vh, media queries, and flexbox—detailing their principles, implementation code, advantages, disadvantages, and practical tips to help developers choose the most suitable solution for responsive design.

CSSFlexboxResponsive Design
0 likes · 26 min read
Master Mobile H5 Layout: 5 Proven Adaptation Techniques Explained
Sohu Tech Products
Sohu Tech Products
Nov 6, 2019 · Mobile Development

Mastering the Viewport Meta Tag: How to Perfect Mobile Screen Adaptation

This comprehensive guide explains the viewport concept, browser behavior, DOM APIs, and practical usage of the Viewport Meta Tag—including width, scale, user‑scalable, and viewport‑fit—while comparing responsive and adaptive design patterns and offering concrete code examples for mobile cross‑screen adaptation.

Mobile WebResponsive DesignVW
0 likes · 24 min read
Mastering the Viewport Meta Tag: How to Perfect Mobile Screen Adaptation
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 19, 2019 · Frontend Development

Mobile Web Adaptation: Principles, Terminology, Viewport, and Common Solutions

This article explains the fundamentals of mobile web adaptation, covering key concepts such as screen resolution, pixel density, device pixel ratio, viewport types, and presents several practical solutions—including flexible+rem, CSS3 media queries with vw, and pure vw approaches—along with implementation details and case studies.

MobileResponsive DesignVW
0 likes · 20 min read
Mobile Web Adaptation: Principles, Terminology, Viewport, and Common Solutions
CSS Magic
CSS Magic
Dec 27, 2018 · Frontend Development

Season 2, Episode 1: Quick CSS Q&A and Front‑End Career Tips

This episode of the Quick Q&A column answers common CSS questions—such as element‑specific property limits, the hyphens property, and Chrome’s minimum‑font‑size effect on rem units—while also offering practical career advice for aspiring front‑end developers.

CSSChromerem
0 likes · 7 min read
Season 2, Episode 1: Quick CSS Q&A and Front‑End Career Tips
Aotu Lab
Aotu Lab
Sep 1, 2016 · Frontend Development

Mastering Mobile Front‑End Adaptation: From Design Specs to Responsive Implementation

This guide explains how to choose representative mobile device sizes, compares four front‑end adaptation techniques—meta‑scale, percentage width, media‑query responsive, and REM scaling—and offers practical advice for designers and developers to coordinate their workflows for seamless handoff.

Mobileadaptationmeta viewport
0 likes · 9 min read
Mastering Mobile Front‑End Adaptation: From Design Specs to Responsive Implementation
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 26, 2016 · Mobile Development

Choosing px, %, or rem for Mobile Layouts: When and Why?

This article examines how to choose between px, %, and rem units for mobile web layouts, discussing width and height uncertainties, the role of media queries, and practical recommendations for using each unit effectively across various screen sizes.

Media QueriesMobileResponsive Design
0 likes · 6 min read
Choosing px, %, or rem for Mobile Layouts: When and Why?