Tagged articles
89 articles
Page 1 of 1
Frontend AI Walk
Frontend AI Walk
Apr 8, 2026 · Frontend Development

Mastering Pretext: A Practical Frontend Guide for Precise Text Measurement

This article explains how the open‑source Pretext library enables fast, accurate multi‑line text measurement and layout in pure JavaScript/TypeScript, outlines the problems it solves, lists ideal front‑end scenarios, provides step‑by‑step API usage, and warns when the library should be avoided.

JavaScriptPretextVirtualization
0 likes · 12 min read
Mastering Pretext: A Practical Frontend Guide for Precise Text Measurement
IT Services Circle
IT Services Circle
Jan 17, 2026 · Frontend Development

10 Must‑Know CSS Layout Techniques for 2026

In 2026 front‑end engineering demands performance, maintainability, clean architecture and design‑system scalability, and modern CSS now provides powerful tools—Grid, Flexbox, Container Queries, Subgrid, clamp/min/max, logical properties, aspect‑ratio, and more—to dramatically reduce JavaScript usage while delivering faster, more reliable user experiences.

CSSFlexboxResponsive Design
0 likes · 11 min read
10 Must‑Know CSS Layout Techniques for 2026
Mashang Consumer UXC
Mashang Consumer UXC
Aug 21, 2025 · Fundamentals

How to Design Layouts That Readers Instantly Understand

In an age of information overload, this guide explains visual scanning patterns like F‑ and Z‑reading, offers practical layout, typography, and visual‑guidance techniques, and shows how to validate designs with A/B testing, heatmaps, and performance optimization to make content effortlessly readable.

A/B testingPerformance OptimizationUX design
0 likes · 8 min read
How to Design Layouts That Readers Instantly Understand
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Apr 27, 2025 · Frontend Development

Super Practical CSS Grid Layout Tricks for 7‑Column Grids

This article walks through several CSS techniques—plain grid markup, repeating linear gradients, selective borders, and pseudo‑elements—to create a 7‑column grid with row separators, explaining each method’s limitations, trade‑offs, and exact selector formulas.

CSSbordergradient
0 likes · 11 min read
Super Practical CSS Grid Layout Tricks for 7‑Column Grids
Sohu Tech Products
Sohu Tech Products
Apr 16, 2025 · Frontend Development

Top 10 New CSS Features in 2024 and Their Practical Use Cases

The 2024 CSS update introduces ten powerful features—scrollbar‑gutter, scrollbar‑color, ::target-text, ruby‑align/position, relative color syntax with light‑dark(), native details accordions, content‑visibility, font‑size‑adjust, transition‑behavior, @property with step‑value functions, and offset‑path/position—enabling smoother layouts, dynamic theming, performance gains, richer typography, and complex animations without JavaScript.

CSSNew FeaturesWeb Development
0 likes · 10 min read
Top 10 New CSS Features in 2024 and Their Practical Use Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 5, 2025 · Frontend Development

Making position:fixed Relative to Parent Elements with CSS Techniques

This article explains why CSS position:fixed normally anchors to the viewport, describes the challenges in complex layouts, and demonstrates several CSS tricks—such as using transform, perspective, filter, backdrop-filter, and contain:paint—to make a fixed element position relative to a specific parent, while also covering best‑practice considerations.

CSSlayoutposition-fixed
0 likes · 8 min read
Making position:fixed Relative to Parent Elements with CSS 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
Sohu Tech Products
Sohu Tech Products
Jan 8, 2025 · Mobile Development

Understanding Jetpack Compose Layout Process: Composition, Measurement, and Modifier Nodes

Jetpack Compose’s layout process consists of three steps—measuring children, deciding the parent’s size, and placing children—driven by a MeasurePolicy that respects explicit Constraints, while Modifier nodes adjust those constraints and intrinsic measurements provide size hints, enabling efficient, declarative UI rendering.

Android UIJetpack ComposeKotlin
0 likes · 17 min read
Understanding Jetpack Compose Layout Process: Composition, Measurement, and Modifier Nodes
KooFE Frontend Team
KooFE Frontend Team
Jul 20, 2024 · Frontend Development

Stop Layout Thrashing: Master Forced Reflows for Faster Web Pages

This article explains how browsers perform layout and reflow, distinguishes asynchronous and forced synchronous reflows, shows how render‑tree caching works, illustrates why layout thrashing hurts performance, and provides practical techniques—including batch reads/writes and React hooks—to avoid costly reflows.

layoutreflow
0 likes · 13 min read
Stop Layout Thrashing: Master Forced Reflows for Faster Web Pages
Taobao Frontend Technology
Taobao Frontend Technology
Mar 8, 2024 · Frontend Development

Master CSS Grid: From Flex to Powerful Two‑Dimensional Layouts

This article explains the limitations of Flex for complex product‑card designs, demonstrates how CSS Grid provides a cleaner two‑dimensional solution with significantly fewer HTML and CSS lines, and offers a curated set of learning resources and practical examples for modern web layout.

CSS GridFlexlayout
0 likes · 11 min read
Master CSS Grid: From Flex to Powerful Two‑Dimensional Layouts
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 GridHTML
0 likes · 9 min read
CSS Grid Layout for E‑commerce Product Cards
IT Services Circle
IT Services Circle
Oct 11, 2023 · Frontend Development

Common CSS Design Mistakes and Their Implications

This article reviews several noteworthy CSS design mistakes—such as the misuse of !important, confusing z-index behavior, margin collapse, ambiguous color functions, and naming of border‑radius—explaining why they are problematic and suggesting clearer alternatives for better front‑end development.

CSSdesign mistakeslayout
0 likes · 6 min read
Common CSS Design Mistakes and Their Implications
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Sep 26, 2023 · Mobile Development

Why Text Gets Cut Off in React Native – Android Measurement Deep Dive & Fixes

This article analyzes the long‑standing React Native text‑truncation issue, explains Android’s text‑measurement architecture—including Spanned, TextPaint, Layout and TextLine—examines two common truncation cases, provides concrete fixes, and proposes a runtime monitoring solution to detect and log such problems.

AndroidReact NativeText Truncation
0 likes · 24 min read
Why Text Gets Cut Off in React Native – Android Measurement Deep Dive & Fixes
Zhaori User Experience
Zhaori User Experience
Feb 24, 2023 · Frontend Development

Mastering Responsive Layouts: DingTalk PC Client Adaptation Strategies

This guide explains how to design a fluid, responsive experience for the DingTalk PC client by defining screen‑size breakpoints, setting default and minimum window dimensions, choosing content‑area scaling rules, and handling fixed elements, card layouts, text and image scaling across devices.

Responsive DesignUI adaptationWeb Development
0 likes · 11 min read
Mastering Responsive Layouts: DingTalk PC Client Adaptation Strategies
JD Retail Technology
JD Retail Technology
Dec 21, 2022 · Frontend Development

Introduction and Design of JD Waterdrop Low-Code Canvas

The article presents an overview of JD's Waterdrop low-code platform, detailing the canvas concept, types, research on existing solutions, development goals, design architecture, adaptive layout algorithms, common layout patterns, and future plans for enhancing the front‑end building experience.

CanvasDrag-and-DropUI design
0 likes · 11 min read
Introduction and Design of JD Waterdrop Low-Code Canvas
We-Design
We-Design
Dec 12, 2022 · Product Management

Designing Multilingual Mobile UI: Key Adaptation Principles for WeChat

This article explains how to adapt mobile UI designs for multiple languages by addressing script differences, text length, layout adjustments, icon usage, and strategies for displaying long strings, providing practical guidelines for creating a seamless experience for both Chinese and non‑Chinese users.

MobileUI designlayout
0 likes · 5 min read
Designing Multilingual Mobile UI: Key Adaptation Principles for WeChat
Baidu MEUX
Baidu MEUX
Nov 16, 2022 · Frontend Development

Mastering X, Y, Z Axes: Design Rules for Enterprise UI Layouts

This article explores how to structure B‑end interfaces using three spatial axes—X for horizontal expansion, Y for vertical information handling, and Z for stacking order—offering concrete layout patterns, adaptation strategies, and layering guidelines to create logical, scalable enterprise UIs.

UI designY-axisZ-axis
0 likes · 11 min read
Mastering X, Y, Z Axes: Design Rules for Enterprise UI Layouts
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 27, 2022 · Mobile Development

iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions

The article discusses challenges and solutions for adapting iOS apps to right‑to‑left languages like Arabic, covering UI mirroring, layout adjustments using leading/trailing constraints, image flipping, text alignment and attributed strings, Unicode direction controls, collection view handling, RTL‑aware insets, navigation gestures, number formatting, and in‑app language switching with practical code examples.

RTLSwiftUIKit
0 likes · 18 min read
iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions
Sohu Tech Products
Sohu Tech Products
Jul 20, 2022 · Mobile Development

Common Android Development Pitfalls and Solutions: Soft Keyboard, Merge Tag, LinearLayout, and Fragment Issues

This article discusses several frequent Android development challenges—including hiding the soft keyboard after activity finish, proper use of the merge tag, LinearLayout weight handling, and numerous Fragment lifecycle pitfalls—providing practical solutions, code snippets, and best‑practice recommendations to improve app stability and UI behavior.

AndroidFragmentLifecycle
0 likes · 13 min read
Common Android Development Pitfalls and Solutions: Soft Keyboard, Merge Tag, LinearLayout, and Fragment Issues
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Apr 10, 2022 · Frontend Development

Master Front-End Layouts: From Centering to Multi-Column Designs

This article systematically explores front‑end page layout techniques, covering common layout types, their best‑practice implementations with CSS (including flex, grid, float, and positioning), detailed Less mixins for vertical, horizontal, and planar centering, and comprehensive solutions for two‑, three‑, and multi‑column layouts across desktop and mobile scenarios.

CSSCenteringFlexbox
0 likes · 25 min read
Master Front-End Layouts: From Centering to Multi-Column Designs
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 7, 2022 · Frontend Development

Building a Powerful Tile Layout System with React‑Grid‑Layout and Low‑Code Engine

This article explains how a low‑code platform redesigned its report page using a tile layout powered by React‑Grid‑Layout, detailing vertical and horizontal squeeze modes, nesting, height‑auto adaptation, mixed tile‑flow layouts, and algorithm optimizations for smoother drag‑and‑drop interactions.

Drag-and-Dropalgorithmlayout
0 likes · 12 min read
Building a Powerful Tile Layout System with React‑Grid‑Layout and Low‑Code Engine
vivo Internet Technology
vivo Internet Technology
Mar 16, 2022 · Mobile Development

Analyzing and Fixing TextView Marquee Reset Issue on Android 6.0+

The article shows how to diagnose the Android 6.0+ TextView marquee jump caused by a button’s setText triggering requestLayout and onMeasure, and fixes it by giving the button a fixed size instead of wrap_content, illustrating a systematic source‑code analysis and debugging workflow for UI issues.

AndroidDebuggingTextView
0 likes · 14 min read
Analyzing and Fixing TextView Marquee Reset Issue on Android 6.0+
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 6, 2022 · Frontend Development

How to Use CSS display:table-cell for Vertical Centering and Advanced Layouts

This article explains the CSS display:table-cell property, its behavior similar to HTML table cells, how it enables vertical centering, its interaction with margin, padding, float and absolute positioning, and demonstrates multiple practical layouts—including centered text, multi‑column designs, equal‑height sections, and responsive two‑column structures, with code examples.

CSSDisplayfrontend
0 likes · 11 min read
How to Use CSS display:table-cell for Vertical Centering and Advanced Layouts
Sohu Tech Products
Sohu Tech Products
Jan 5, 2022 · Frontend Development

Key Takeaways from the CSS Annual Report – Layout, Graphics, Interaction, Typography and Emerging Features

The article reviews the latest CSS Annual Report, highlighting popular layout techniques such as Flex, Grid and Subgrid, new graphic capabilities like shape‑outside and blend modes, interactive properties including scroll‑snap and container queries, as well as typography advances, preprocessors, frameworks, CSS‑in‑JS trends and award‑winning features, all illustrated with real code examples.

CSSGraphicsTypography
0 likes · 24 min read
Key Takeaways from the CSS Annual Report – Layout, Graphics, Interaction, Typography and Emerging Features
KooFE Frontend Team
KooFE Frontend Team
Jan 3, 2022 · Frontend Development

How to Write Defensive CSS: Prevent Scroll Chaining, Variable Fallbacks, and Layout Breakage

This article presents practical defensive CSS techniques—including using overscroll-behavior to stop scroll chaining, var() fallbacks for custom properties, min‑width/min‑height instead of fixed dimensions, proper background-repeat handling, and vertical media queries—to create more robust, responsive web layouts.

CSSResponsive DesignVariables
0 likes · 6 min read
How to Write Defensive CSS: Prevent Scroll Chaining, Variable Fallbacks, and Layout Breakage
21CTO
21CTO
Dec 10, 2021 · Frontend Development

Four Simple Ways to Center a DIV Using Modern CSS Techniques

Learn four practical CSS approaches—Grid, Flexbox, margin:auto, and absolute positioning with transform—to reliably center a DIV element both horizontally and vertically, complete with code examples and visual results for quick implementation.

CSSCenteringHTML
0 likes · 4 min read
Four Simple Ways to Center a DIV Using Modern CSS Techniques
58UXD
58UXD
Mar 9, 2021 · Fundamentals

How to Create Stunning PPT Covers: Fonts, Colors, Backgrounds & Layout Tips

This guide explains how to design an eye‑catching PPT cover by mastering four key elements—text, color, background, and layout—offering practical font, color, and image recommendations along with free design tools to boost visual impact.

PPT designTypographycolor theory
0 likes · 6 min read
How to Create Stunning PPT Covers: Fonts, Colors, Backgrounds & Layout Tips
Taobao Frontend Technology
Taobao Frontend Technology
Jan 7, 2021 · Frontend Development

Unveiling the Secrets of CSS: From Its Origins to Modern Mastery

This comprehensive guide explores CSS history, its evolution through standards, core concepts like cascade, specificity, inheritance, formatting contexts, box model, modern layout techniques, best practices, tooling, and future trends, offering developers a deep understanding of styling the web.

CSSStylingWeb Design
0 likes · 52 min read
Unveiling the Secrets of CSS: From Its Origins to Modern Mastery
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 2, 2020 · Mobile Development

Why React Native Custom Views Need Explicit Width/Height and How to Fix It

This article analyzes why custom Android Views embedded in React Native often fail to render without explicit width and height, explores the underlying RN root layout, measureSpec, and Yoga engine mechanisms, and provides practical solutions such as FrameCallback registration and layout updates to ensure proper rendering.

AndroidCustom ViewMobile Development
0 likes · 12 min read
Why React Native Custom Views Need Explicit Width/Height and How to Fix It
Youku Technology
Youku Technology
Oct 19, 2020 · Mobile Development

Responsive Layout Techniques for iOS Apps: Youku's Implementation and Practice

Youku’s iOS app implements a unified responsive‑layout SDK that detects device size, orientation, and split‑screen states, automatically recalculates column counts and component widths, and adapts data, enabling a single codebase to support iPhone, iPad portrait, landscape, floating windows, and split‑screen modes.

App AdaptationMobile DevelopmentResponsive Design
0 likes · 15 min read
Responsive Layout Techniques for iOS Apps: Youku's Implementation and Practice
Youku Technology
Youku Technology
Oct 16, 2020 · Mobile Development

How Youku Achieved Seamless Multi‑Device UI with a Responsive Android SDK

This article explains Youku's Android responsive solution, covering the responsive SDK, loading flow, architecture, data reprocessing, page and container responsiveness, and control size adaptation, providing practical guidelines for building a single app that adapts to diverse device sizes and form factors.

AndroidFoldable ScreensResponsive Design
0 likes · 13 min read
How Youku Achieved Seamless Multi‑Device UI with a Responsive Android SDK
Taobao Frontend Technology
Taobao Frontend Technology
Jul 20, 2020 · Frontend Development

Unlock Modern CSS Layouts: Centering, Grid, Flexbox, and Responsive Techniques

This article explores essential CSS layout patterns—including horizontal‑vertical centering, equal‑height sections, sticky footers, equal‑column grids, the Holy Grail layout, 12‑column systems, space‑between justification, the clamp() function, and logo alignment—showing practical Flexbox and Grid solutions with code examples and live demos.

CSSFlexboxgrid
0 likes · 27 min read
Unlock Modern CSS Layouts: Centering, Grid, Flexbox, and Responsive Techniques
Xianyu Technology
Xianyu Technology
Jul 16, 2020 · Mobile Development

Implementing a High‑Performance Waterfall Flow ListView in Flutter

The article describes how to build a high‑performance waterfall‑flow ListView in Flutter by extending SliverMultiBoxAdaptor, managing child reuse, lazy loading, edge‑based insertion, garbage collection, and paint‑only updates, achieving a modest FPS boost on Xianyu’s search page while outlining remaining challenges such as scroll‑to, memory use, and lifecycle callbacks.

FlutterListViewWaterfallFlow
0 likes · 9 min read
Implementing a High‑Performance Waterfall Flow ListView in Flutter
JD Retail Technology
JD Retail Technology
May 18, 2020 · Mobile Development

Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager

This article analyzes why StaggeredGridLayoutManager can cause item reordering and blank gaps at the top of a RecyclerView, explains the underlying measurement and layout mechanisms, and presents code‑level solutions such as disabling gap handling, invalidating span assignments, and using notifyItemRangeChanged instead of notifyDataSetChanged.

AndroidRecyclerViewStaggeredGridLayoutManager
0 likes · 11 min read
Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager
AI Code to Success
AI Code to Success
Apr 26, 2020 · Mobile Development

Why match_parent ≠ EXACTLY: Unraveling Android MeasureSpec Modes

This article debunks the common belief that match_parent and wrap_content always correspond to MeasureSpec.EXACTLY and MeasureSpec.AT_MOST, explains how a parent view's spec mode and LayoutParams together determine the final MeasureSpec, and shows when UNSPECIFIED actually appears in Android layouts.

AndroidCustomViewMeasureSpec
0 likes · 7 min read
Why match_parent ≠ EXACTLY: Unraveling Android MeasureSpec Modes
政采云技术
政采云技术
Mar 8, 2020 · Frontend Development

Everything You Should Know About vertical-align

This article provides a comprehensive guide to the CSS vertical-align property, explaining its purpose, supported elements, value categories, interaction with line-height, common pitfalls, and practical code examples for achieving precise vertical alignment in modern web layouts.

CSSHTMLfrontend
0 likes · 18 min read
Everything You Should Know About vertical-align
360 Tech Engineering
360 Tech Engineering
Nov 1, 2019 · Frontend Development

Understanding the CSS display Property and Its Two‑Value Syntax

This article explains how the CSS display property controls both the external formatting of an element and the internal formatting context of its children, introduces the newer two‑value syntax (e.g., display: inline‑flow‑root), and discusses current browser support and practical usage.

CSSDisplayFlex
0 likes · 5 min read
Understanding the CSS display Property and Its Two‑Value Syntax
FangDuoduo UEDC
FangDuoduo UEDC
Oct 21, 2019 · Frontend Development

Mastering App Dividers: Full‑Width, Edge, and Floating Lines Explained

This article explores how subtle divider lines—full‑width, single‑edge, and floating—organize complex mobile app layouts, improve visual hierarchy, and enhance browsing efficiency, offering practical examples and guidelines for designers and developers.

Mobile UIUI designdivider lines
0 likes · 6 min read
Mastering App Dividers: Full‑Width, Edge, and Floating Lines Explained
JD.com Experience Design Center
JD.com Experience Design Center
Sep 20, 2019 · Fundamentals

How Visual Designers Should Interpret Interaction Mockups and Adjust Layouts Effectively

This article explores how visual designers can understand interaction drafts, maintain information hierarchy, and thoughtfully adjust layouts across operation‑type and platform‑type pages, using real‑world examples to illustrate best practices and common pitfalls in UI design collaboration.

Interaction DesignUI designinformation hierarchy
0 likes · 9 min read
How Visual Designers Should Interpret Interaction Mockups and Adjust Layouts Effectively
360 Tech Engineering
360 Tech Engineering
Jul 26, 2019 · Frontend Development

Properties and Methods That Trigger Layout Reflow in Browsers

The article lists DOM properties and methods—such as element measurements, scrolling APIs, focus calls, getComputedStyle, and various window and document attributes—that cause browsers to synchronously recalculate styles and layout, explains why they are performance bottlenecks, and offers practical mitigation techniques.

BrowserDOMfrontend
0 likes · 8 min read
Properties and Methods That Trigger Layout Reflow in Browsers
Xianyu Technology
Xianyu Technology
Mar 29, 2019 · Mobile Development

Translating UI DSL to Flutter Code: Architecture and Algorithms

The UI2CODE pipeline converts image‑derived JSON DSL layouts into Flutter code by constructing a hierarchical DSL tree, partitioning it into rows, columns or stacks, applying unsupervised text‑alignment and padding heuristics, generating templated widget code with separate data models, cutting development effort by roughly two‑thirds and now used internally at Xianyu.

Code GenerationDSLFlutter
0 likes · 11 min read
Translating UI DSL to Flutter Code: Architecture and Algorithms
360 Tech Engineering
360 Tech Engineering
Feb 26, 2019 · Frontend Development

Understanding CSS z-index and Stacking Contexts

This article explains the default stacking order of HTML elements, how z-index interacts with positioned, floating, and flex items, how to create custom stacking orders, and the rules for generating stacking contexts, providing practical examples and best‑practice recommendations for front‑end developers.

frontendlayoutstacking-context
0 likes · 11 min read
Understanding CSS z-index and Stacking Contexts
AutoHome Frontend
AutoHome Frontend
Jan 14, 2019 · Frontend Development

12 Must‑Know CSS Fixes for Common Layout Pitfalls

This article compiles frequent CSS problems—from button styling and overflow handling to flex‑wrap, grid layouts, long‑word breaking, transparent gradients, pseudo‑elements, and input accessibility—offering concise code solutions and practical tips to improve cross‑browser compatibility and user experience.

CSSResponsive DesignWeb Development
0 likes · 14 min read
12 Must‑Know CSS Fixes for Common Layout Pitfalls
JD Tech
JD Tech
Nov 1, 2018 · Frontend Development

Responsive Layout Techniques Using CSS Viewport Units, Media Queries, and JavaScript

This article explains how to achieve responsive design by calculating viewport heights for various desktop and mobile resolutions, using CSS viewport units (vh, vw) and rem together with media queries and JavaScript to dynamically switch scaling modes for consistent UI across devices.

CSSMedia QueriesResponsive Design
0 likes · 9 min read
Responsive Layout Techniques Using CSS Viewport Units, Media Queries, and JavaScript
网易UEDC
网易UEDC
Oct 15, 2018 · Frontend Development

Mastering App Grid Systems: Boost Design Consistency & Efficiency

This article explains the concept, history, and essential components of grid systems for app design, outlines why they improve team collaboration and design rationality, and provides step‑by‑step guidance on building and applying grids while highlighting common pitfalls to avoid.

design-consistencyfrontendgrid system
0 likes · 13 min read
Mastering App Grid Systems: Boost Design Consistency & Efficiency
AutoHome Frontend
AutoHome Frontend
Sep 18, 2018 · Frontend Development

How Google Photos Delivers Smooth 60fps Scrolling with Advanced Layout Tricks

This article explains the technical challenges Google Photos faced—such as handling millions of images, preserving aspect ratios, enabling instant navigation, and maintaining 60fps scrolling—and details the algorithms, data chunking, justified layout, and performance optimizations that make the web UI fast and fluid.

algorithmfrontendlayout
0 likes · 27 min read
How Google Photos Delivers Smooth 60fps Scrolling with Advanced Layout Tricks
Xianyu Technology
Xianyu Technology
Sep 3, 2018 · Mobile Development

Flutter Basics: Widgets, Layout, and Lifecycle for Beginners

Flutter, a cross‑platform framework built on immutable, declarative widgets, lets beginners create UI using basic widgets like Text and Image, layout containers such as Row, Column, Stack, and Flex, manage visibility, and handle state through StatefulWidget lifecycle methods while observing app‑level lifecycle events.

DARTFlutterMobile Development
0 likes · 17 min read
Flutter Basics: Widgets, Layout, and Lifecycle for Beginners
Tencent Music Tech Team
Tencent Music Tech Team
Jun 29, 2018 · Mobile Development

Investigation of IllegalArgumentException in Android RecyclerView after QQ Music K歌 4.6 Release

The QQ Music K歌 4.6 crash occurs when a hidden RecyclerView, created by fragment recreation after the app is killed, retains a stale cached Footer ViewHolder that mismatches the adapter’s type after an unnotified data change, triggering an IllegalArgumentException during the RecyclerView’s layout step 2.

AndroidCrashDebuggingIllegalArgumentException
0 likes · 15 min read
Investigation of IllegalArgumentException in Android RecyclerView after QQ Music K歌 4.6 Release
Snowball Engineer Team
Snowball Engineer Team
May 11, 2018 · Mobile Development

Understanding TextView Rendering and Span Usage in Android

This article explains how Android's TextView renders text, detailing its coordinate system, layout classes, span types, HTML conversion, and practical implementations such as custom ReplacementSpan and link handling within the Snowball app, providing developers with a comprehensive guide to advanced text styling.

AndroidMobile DevelopmentSpannable
0 likes · 13 min read
Understanding TextView Rendering and Span Usage in Android
Xianyu Technology
Xianyu Technology
May 8, 2018 · Mobile Development

Flutter Rendering Pipeline and Performance Optimization

This article delves into Flutter’s rendering pipeline, explaining the three‑tree architecture, build‑layout‑paint stages, state lifecycle, data flow, and optimization techniques such as relayout and repaint boundaries, while highlighting common pitfalls and best practices for high‑performance Flutter UI development.

Data FlowElementPerformance Optimization
0 likes · 10 min read
Flutter Rendering Pipeline and Performance Optimization
网易UEDC
网易UEDC
Mar 26, 2018 · Fundamentals

Mastering Typography: How Font Choice and Layout Shape Effective Design

This article explores how careful font selection, Chinese‑Western typeface separation, punctuation spacing, and the four core design principles of proximity, alignment, repetition, and contrast together create clear, visually appealing typography for both small and large text blocks.

Chinese typographyTypographydesign principles
0 likes · 11 min read
Mastering Typography: How Font Choice and Layout Shape Effective Design
Tencent Music Tech Team
Tencent Music Tech Team
Sep 15, 2017 · Mobile Development

Introducing ConstraintLayout: Benefits, Usage, and Performance Comparison

The article introduces Android’s ConstraintLayout, explains how it solves performance and nesting problems of RelativeLayout, LinearLayout, and TableLayout, guides developers through setup and step‑by‑step conversions—including proportional spacing, aspect‑ratio, gone margins, and chains—present a modest 10 % performance gain versus claims, and shares practical developer insights.

AndroidConstraintLayoutUI
0 likes · 19 min read
Introducing ConstraintLayout: Benefits, Usage, and Performance Comparison
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 24, 2017 · Frontend Development

How CSS3 Transform Alters Stacking, Positioning, and Overflow Behaviors

This article explains how applying CSS3 transform—even with neutral values like scale(1) or translate(0,0)—can unexpectedly change element stacking order, break fixed positioning, modify overflow handling for absolute elements, and affect 100% width calculations across browsers, illustrated with code samples and screenshots.

CSSfrontendlayout
0 likes · 7 min read
How CSS3 Transform Alters Stacking, Positioning, and Overflow Behaviors
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jul 20, 2017 · Mobile Development

Common Mobile Webview Styling Pitfalls and Practical CSS Tips for Android and iOS

This article summarizes frequent CSS rendering inconsistencies across Android and iOS webviews, covering line‑height quirks, multiline ellipsis, badge implementation, image‑text layouts, adaptive width handling, inline‑block behavior, and simulated scrolling, while offering concrete code snippets and visual examples.

CSSMobileResponsive
0 likes · 7 min read
Common Mobile Webview Styling Pitfalls and Practical CSS Tips for Android and iOS
Hujiang Technology
Hujiang Technology
May 9, 2017 · Frontend Development

Getting to Know CSS Grid Layout – A Comprehensive Guide

This article introduces CSS Grid Layout, covering its core concepts, browser support, practical examples for creating columns, gutters, fractional units, alignment, legacy support, padding, rows, flexible sizing with minmax, and advanced techniques like auto‑fit and auto‑fill to build responsive, media‑query‑free layouts.

CSS GridResponsive Designfrontend
0 likes · 13 min read
Getting to Know CSS Grid Layout – A Comprehensive Guide
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 7, 2017 · Mobile Development

Avoid These 11 Common Mistakes When Building React Native Apps

After a year of developing with React Native, this guide shares eleven frequent pitfalls—from misguided project planning and layout handling to Redux store design, component structuring, inline styling, and gesture handling—offering practical advice to help developers build more robust mobile applications.

Component DesignReact NativeRedux
0 likes · 12 min read
Avoid These 11 Common Mistakes When Building React Native Apps
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 4, 2017 · Frontend Development

Top 16 Front-End Interview Questions and Answers Explained

This article provides concise explanations for sixteen common front‑end interview topics, covering inline vs. block elements, clearing floats, box‑sizing, CSS imports, progressive enhancement vs. graceful degradation, margin collapse, preprocessors, positioning, display types, centering techniques, CSS specificity, new CSS3 selectors and features, Flexbox, browser compatibility hacks, and media queries.

CSSResponsivefrontend
0 likes · 16 min read
Top 16 Front-End Interview Questions and Answers Explained
Tencent Music Tech Team
Tencent Music Tech Team
Mar 17, 2017 · Mobile Development

Introduction to Yoga Layout Engine, Flexbox Basics, and Android Integration

Yoga, Facebook’s cross‑platform C‑based Flexbox layout engine with Java, C#, and Objective‑C bindings, lets developers define UI hierarchies using Flexbox properties, compile it via Buck or import a Gradle module, calculate node positions in Android, and manually apply them to Views, offering cross‑platform consistency but requiring extra integration effort.

AndroidBuckFlexbox
0 likes · 17 min read
Introduction to Yoga Layout Engine, Flexbox Basics, and Android Integration
Meituan Technology Team
Meituan Technology Team
Feb 24, 2017 · Mobile Development

Picasso: A Cross‑Platform Dynamic Layout Framework for iOS

Picasso is a cross‑platform dynamic layout framework for iOS that implements Meituan‑Dianping’s “crafted layout” philosophy, using anchor‑based expressions and JavaScriptCore to compute layouts off‑main‑thread, offering live‑reload, full test coverage, extensible controls and server‑side tooling to dramatically boost UI development productivity.

AnchorDynamic UIiOS
0 likes · 12 min read
Picasso: A Cross‑Platform Dynamic Layout Framework for iOS
21CTO
21CTO
May 11, 2016 · Mobile Development

Essential Android Performance Tools & Tips for Faster Apps

This article compiles essential Android performance optimization tools and practical tips, covering layout inspection, GPU profiling, memory monitoring, code best practices, view rendering, power management, and APK slimming to help developers identify and resolve bottlenecks for smoother, more efficient applications.

MemoryPowerlayout
0 likes · 10 min read
Essential Android Performance Tools & Tips for Faster Apps
Architect
Architect
Oct 14, 2015 · Mobile Development

iOS View Layer Architecture: Guidelines, Layout Strategies, and Best Practices

This article explains why the view layer is the most critical part of an iOS app’s architecture, outlines common pitfalls, proposes a clear code‑structure convention, discusses layout tools, and advises when to use storyboards, nibs, or pure code, while also recommending AOP over inheritance for shared controller behavior.

Code GuidelinesMobile DevelopmentView Architecture
0 likes · 21 min read
iOS View Layer Architecture: Guidelines, Layout Strategies, and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Mar 17, 2015 · Mobile Development

iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices

This article outlines comprehensive iOS design best practices, covering content‑centric development, enhancing functional experience, improving visual clarity, using layout to prioritize content, optimizing launch experience, crafting onboarding and modal scenarios, and refining interaction feedback, branding, icons, and standard UI element usage.

OnboardingUI designbranding
0 likes · 16 min read
iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices