Tagged articles
Layout
92 articles · Page 1 of 1
This article walks through five modern CSS features—place-content, scroll-behavior, aspect-ratio, gap, and clamp()—showing how each replaces older hacks, improves code clarity, and enjoys broad browser support, ultimately making layout and responsive design far easier.
CSSFlexboxGrid
0 likes · 8 min read

This tutorial walks beginners through CSS fundamentals, covering what CSS is, how to include styles, basic syntax, selector types, cascade and specificity, the box model, units, background, borders, display, positioning, overflow, and a complete card component example, with practical tips for each topic.
Box ModelCSSLayout
0 likes · 23 min read


liandkMay 19, 2026 · Frontend Development
This article provides a complete Vue 3 single‑file component using Element Plus that demonstrates a unified layout container with breadcrumbs, a searchable table, pagination, form validation, dialogs, file upload, and a tree‑style menu, all ready to copy and use without configuration.
Element PlusForm ValidationLayout
0 likes · 11 min read

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.
JavaScriptLayoutPretext
0 likes · 12 min read

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.
CSSFlexboxGrid
0 likes · 11 min read

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 testingLayoutUX design
0 likes · 8 min read

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.
CSSGridLayout
0 likes · 11 min read

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.
Browser CompatibilityCSSLayout
0 likes · 10 min read

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

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 GridLayoutresponsive design
0 likes · 11 min read

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.
CSSLayoutoverflow
0 likes · 8 min read

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

This article explains the CSS box model, the differences between content-box and border-box sizing, introduces the concept of Block Formatting Context (BFC), shows how to trigger BFC with various CSS properties, and demonstrates practical layout solutions with code examples.
BFCBox ModelCSS
0 likes · 14 min read

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.
CSSFlexboxGrid
0 likes · 9 min read

This article introduces the use of Flex layout and the Yoga cross‑platform layout engine for dynamic UI development in the JD Finance app, covering container and item concepts, common Flex properties, list and absolute layouts, visibility control, and practical troubleshooting tips.
FlexboxLayoutUI
0 likes · 21 min read

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

This guide explains how to choose and implement map visualization layouts—primary map focus, side‑by‑side view, or dual‑panel designs—and details point, line, and area visual elements along with common chart types to improve logistics efficiency and user experience.
GeospatialLayoutUI design
0 likes · 14 min read

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

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

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.
CSSLayoutdesign mistakes
0 likes · 6 min read

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.
AndroidLayoutReact Native
0 likes · 24 min read

This article explains front‑end layout concepts, distinguishing adaptive and responsive designs, lists common mobile screen dimensions, and details practical techniques such as percentage layouts, media queries, rem/vw/vh units, flexbox, as well as classic Holy Grail and double‑wing layouts.
FlexboxLayoutVW
0 likes · 8 min read

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.
LayoutUI adaptationbreakpoints
0 likes · 11 min read

This article explains the new CSS :has parent selector, showing how to conditionally apply styles to parent elements based on the presence of child elements such as images, links, or form inputs, and provides multiple practical examples and browser support details.
:has() selectorCSSLayout
0 likes · 10 min read

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-DropLayout
0 likes · 11 min read

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.
LayoutUI designmobile
0 likes · 5 min read

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.
LayoutUI designY-axis
0 likes · 11 min read

This article explains the design and implementation of a reusable feeds component that supports multiple layout modes, renders different data types, and uses virtual scrolling to keep DOM size low and maintain smooth performance during infinite scrolling.
Layoutcomponent designfrontend
0 likes · 9 min read

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.
LayoutRTLSWIFT
0 likes · 18 min read

This tip shows how defining .img_container with width:100% and aspect-ratio:16/9 in CSS prevents layout disruptions after image loading and can also be leveraged in media queries for responsive design.
CSSLayoutaspect ratio
0 likes · 1 min read

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.
AndroidFragmentLayout
0 likes · 13 min read

This article explains CSS's invisible flow mechanism, compares block and inline elements to water flow, and details how width, height, and box‑sizing affect layout, providing practical insights for creating fluid and robust front‑end designs.
Box ModelCSSLayout
0 likes · 14 min read


HomeTechMay 25, 2022 · Frontend Development
This article explains the six Flexbox child‑item properties—order, flex‑grow, flex‑shrink, flex‑basis, flex (shorthand), and align‑self—showing their default values, how they affect item layout, and providing practical HTML/CSS code examples for each.
@OrderCSSFlexbox
0 likes · 6 min read

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.
CSSFlexboxGrid
0 likes · 25 min read

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.
AlgorithmDrag-and-DropLayout
0 likes · 12 min read

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.
AndroidDebuggingLayout
0 likes · 14 min read

This article surveys academic, commercial, and open‑source word‑cloud solutions, explains the underlying algorithms, visual encodings, layout strategies, interaction techniques, and classifications, and discusses the strengths, limitations, and future directions of word‑cloud visualisation.
AlgorithmInteractionLayout
0 likes · 19 min read

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.
CSSDisplayLayout
0 likes · 11 min read

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.
CSSGraphicsInteraction
0 likes · 24 min read

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.
CSSLayoutdefensive CSS
0 likes · 6 min read

This article explores common pitfalls when using Flutter’s Container widget, explains the underlying layout rules and constraint system, and walks through six practical scenarios with source‑code analysis to reveal why width, height, alignment, and constraints behave the way they do.
FlutterLayoutWidget
0 likes · 15 min read


21CTODec 10, 2021 · Frontend Development
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.
CSSHTMLLayout
0 likes · 4 min read


ByteFEApr 21, 2021 · Frontend Development
This article explains browser frame concepts, the rendering pipeline, and how to optimize animations by understanding the relationship between frames, requestAnimationFrame, and the main thread processes.
LayoutMain Threadanimation
0 likes · 11 min read

This article explains how to implement a flexible Android countdown timer that adapts to multi‑language layouts, adds digit‑rolling animations, and optimizes performance by pausing when off‑screen, providing complete code samples and layout strategies for production use.
AndroidCountdown TimerLayout
0 likes · 24 min read

This article teaches front‑end developers how to improve UI quality by applying three core layout principles—block segmentation, proper alignment, and effective color usage—backed by practical examples, commit‑message standards, and color‑model insights.
DesignLayoutUI
0 likes · 10 min read

This article explains Flutter's rendering pipeline and provides practical techniques for optimizing the build, layout, and paint phases, including debugging tools, code refactoring, and widget structuring to achieve smoother, higher‑performance applications.
Build PhaseFrontend DevelopmentLayout
0 likes · 14 min read

This article explains the five Android soft‑input adjustment modes (RESIZE, PAN, UNSPECIFIED, NOTHING and the method to obtain the visible window frame), analyzes their underlying ViewRootImpl mechanisms with code examples, and demonstrates practical demos showing how each mode affects layout and scrolling behavior.
LayoutPANResize
0 likes · 20 min read


58UXDMar 9, 2021 · Fundamentals
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.
Design ToolsLayoutPPT design
0 likes · 6 min read

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.
CSSLayoutStyling
0 likes · 52 min read

This article explores how the simple CSS rule margin:auto can be used to center fixed‑width blocks, align elements to the right, and combine with Flexbox for sophisticated layout patterns, while also addressing overflow challenges and offering practical code examples.
CSSLayoutfrontend
0 likes · 18 min read

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 ViewLayout
0 likes · 12 min read

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 AdaptationLayoutSDK
0 likes · 15 min read

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 ScreensLayout
0 likes · 13 min read

This article explains how Alibaba's Youku app uses a responsive SDK, unified architecture, and data re‑processing techniques to adapt Android UI layouts across phones, tablets, split‑screen and foldable devices, delivering a consistent user experience while reducing development effort.
AndroidLayoutUI
0 likes · 11 min read

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

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.
FlutterLayoutListView
0 likes · 9 min read


HomeTechJul 1, 2020 · Frontend Development
The article explains the CSS Containment specification and its contain property, detailing how layout, paint, and size containment can improve rendering performance while noting potential side‑effects, and provides practical code examples and guidance for safe adoption in modern web development.
CSSLayoutcontain
0 likes · 10 min read

The article explains why mouse hover events may only trigger on a transparent text element, explores CSS stacking contexts, stacking levels, and ordering rules, demonstrates various code examples and visual diagrams, and offers three practical solutions to fix overlapping element issues on web pages.
CSSLayoutfrontend
0 likes · 13 min read

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.
AndroidLayoutRecyclerView
0 likes · 11 min read

This guide explains the fundamentals of HTML, covering standard tags, formatting elements, semantic layout structures, deprecated frames, and best practices for using absolute and relative file paths, complete with code examples for each concept.
File PathsFramesHTML
0 likes · 9 min read

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.
AndroidCustomViewLayout
0 likes · 7 min read


政采云技术Mar 8, 2020 · Frontend Development
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.
CSSHTMLLayout
0 likes · 18 min read

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

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.
LayoutMobile UIUI design
0 likes · 6 min read

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.
LayoutUI designinformation hierarchy
0 likes · 9 min read

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.
DOMLayoutbrowser
0 likes · 8 min read

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.
DSLFlutterLayout
0 likes · 11 min read

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.
Layoutfrontendstacking-context
0 likes · 11 min read

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.
CSSLayoutaccessibility
0 likes · 14 min read

This article explains visual hierarchy, its role in distinguishing primary and secondary elements, and outlines five practical techniques—size, color, elements, whitespace, and grouping—supported by real‑world app examples to help designers create clearer, more engaging interfaces.
LayoutUI designVisual Hierarchy
0 likes · 7 min read


JD TechNov 1, 2018 · Frontend Development
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.
CSSLayoutViewport Units
0 likes · 9 min read


网易UEDCOct 15, 2018 · Frontend Development
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.
LayoutMobile Appdesign-consistency
0 likes · 13 min read

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.
AlgorithmLayoutfrontend
0 likes · 27 min read

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.
DartFlutterLayout
0 likes · 17 min read

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

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.
AndroidLayoutSpannable
0 likes · 13 min read

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.
ElementLayoutState Management
0 likes · 10 min read


网易UEDCMar 26, 2018 · Fundamentals
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 typographyDesign PrinciplesLayout
0 likes · 11 min read

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.
AndroidConstraintLayoutLayout
0 likes · 19 min read

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.
CSSLayoutfrontend
0 likes · 7 min read

This article explains why inline‑block elements create spacing gaps, demonstrates the issue with examples, and presents nine practical CSS methods—including removing whitespace, using negative margins, font-size tricks, and advanced grid hacks—to reliably eliminate those gaps across browsers.
CSSLayoutWeb
0 likes · 8 min read

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.
CSSLayoutResponsive
0 likes · 7 min read

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 GridLayoutfrontend
0 likes · 13 min read

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.
Best PracticesLayoutReact Native
0 likes · 12 min read

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.
CSSLayoutResponsive
0 likes · 16 min read

This article explains the necessity of Android screen adaptation due to system and device fragmentation, defines screen size, resolution, and density concepts, introduces density‑independent units (dp, sp), and provides practical layout, component, and image resource adaptation techniques with code examples.
AndroidDPLayout
0 likes · 16 min read

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

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 UILayout
0 likes · 12 min read

This tutorial explains how to create equal‑width and equal‑spacing layouts using Sass mixins from the sandal library, covering flex, table, and float techniques for both single‑line and multi‑line scenarios, with complete code examples and practical guidance for mobile front‑end development.
CSSFlexboxLayout
0 likes · 6 min read


21CTOMay 11, 2016 · Mobile Development
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.
LayoutMemoryPower
0 likes · 10 min read

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.
AOPCode GuidelinesLayout
0 likes · 21 min read

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.
InteractionLayoutUI design
0 likes · 16 min read
