Tagged articles
Flexbox
42 articles · Page 1 of 1
This article classifies centering scenarios, explains horizontal and vertical methods for inline and block elements, and walks through practical CSS solutions—from text‑align and margin auto to Flex, Grid, and absolute positioning—while highlighting pitfalls and a quick reference table.
CSSFlexboxGrid
0 likes · 8 min read

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

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

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.
CSSFlexboxfrontend
0 likes · 6 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

In Chrome 123 (2024) the CSS property align-content:center now provides native vertical centering for regular block elements, eliminating the need for Flex or Grid tricks, but it works only under specific layout conditions and has several edge‑case pitfalls.
Browser SupportCSSChrome 123
0 likes · 4 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 to solve the common problem of loading historical chat records in a WeChat mini‑program by using a two‑line CSS flex column‑reverse trick, handling edge cases such as limited data and scroll‑view issues, and provides a complete Koa WebSocket backend implementation with full code examples.
FlexboxKoachat
0 likes · 9 min read

This article provides a detailed tutorial on implementing various modern web layout techniques—including horizontal‑vertical centering, equal‑height columns, sticky footers, equal‑distribution columns, the Holy Grail layout, 12‑column grids, justified spacing, and responsive sizing with clamp()—using CSS Flexbox and Grid with practical code examples.
CSSFlexboxGrid
0 likes · 29 min read

This article explains how to create a two‑column waterfall (masonry) layout in a Uni‑App using Flexbox, covering the visual design, CSS styling, data handling, dynamic loading, height calculation, and tab‑switch integration with complete code examples.
Flexboxfrontenduni-app
0 likes · 8 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 tutorial explains how to build a pure‑CSS3 image carousel with a clean, minimalist look by using Flexbox layout and @keyframes animation, providing complete HTML and CSS code that runs without any JavaScript, making it a handy reference for front‑end developers.
FlexboxFrontend DevelopmentImage Slider
0 likes · 3 min read

This article provides a detailed introduction to uni‑app, a Vue‑based cross‑platform front‑end framework, covering its core concepts, advantages, environment installation with HBuilder X and vue‑cli, project creation, platform‑specific build commands, Flex layout basics, and background‑image handling for various targets.
Flexboxcross-platformdevelopment
0 likes · 18 min read

This guide introduces uni-app—a Vue‑based framework that lets developers write a single codebase and deploy to iOS, Android, H5, and various mini‑programs—covers its key advantages, environment setup with HBuilder X or vue‑cli, project creation, platform‑specific building, Flex layout, and background‑image handling.
FlexboxFrontend DevelopmentVue
0 likes · 19 min read

This article explores GaiaX's cross‑platform layout solution, detailing the performance tests that validated Flexbox, the advantages of the Rust‑based Stretch library, and the engineering fixes for iOS crashes, aspect‑ratio handling, and multithreading issues.
FlexboxLayout EngineRust
0 likes · 21 min read

GaiaX, Alibaba Entertainment’s cross‑platform dynamic UI framework, adopts Flexbox implemented with the Rust‑based Stretch engine to deliver millisecond‑level layout latency on phones, tablets, OTT, Macs and IoT devices, while fixing iOS 32‑bit crashes, redefining aspect‑ratio logic, adding thread‑safe wrappers and extensive tests, and open‑sourcing the extended library.
FlexboxGaiaXLayout Engine
0 likes · 18 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

Discover four engaging browser games—Flexbox Froggy, Flexbox Defense, FlexBox Adventure, and Knights of the Flexbox Table—that provide hands‑on practice for mastering CSS Flexbox layout concepts while keeping learning entertaining and interactive.
FlexboxLearninggames
0 likes · 2 min read


HomeTechMar 10, 2022 · Frontend Development
This article explains the fundamentals of the CSS Flexible Box Module (Flexbox), describing main and cross axes, and provides detailed guidance on the six container properties—flex-direction, flex-wrap, flex-flow, justify-content, align-items, and align-content—along with code examples and visual illustrations.
CSSFlexboxfrontend
0 likes · 8 min read

This article presents practical defensive CSS techniques—including handling justify-content space-between, image text fallbacks, fixed grid values, overflow control, and scrollbar gutter—to create robust, responsive layouts that gracefully adapt to dynamic content changes.
CSSFlexboxdefensive CSS
0 likes · 6 min read

This article demonstrates how to create a pure‑CSS animation of the Sun, Earth and Moon orbital motion using simple HTML divs, Flexbox/Grid layout, gradient colors, and CSS keyframe animations, with full source code and styling details provided.
CSSFlexboxGrid
0 likes · 6 min read

This article presents a comprehensive technical summary of various H5 animation solutions—including pure CSS, dynamics.js, random motion, frame animation, lottie, video and APNG/WebP—along with mobile adaptation strategies using flexbox and practical video preloading methods for improved performance and user experience.
CSS AnimationCanvasFlexbox
0 likes · 18 min read

Kraken 0.8.0 introduces Flutter 2.2.2 compatibility with Dart Null Safety, boosts first‑paint performance by 10% through Bridge optimizations, enhances Flexbox layout speed, adds new HTML tags and CSS units, fixes numerous bugs, and outlines upcoming features like QuickJS and SSR support.
CSSFlexboxFlutter
0 likes · 5 min read


WecTeamMar 20, 2021 · Frontend Development
This week’s WecTeam Frontend Weekly highlights a deep dive into overlooked Flexbox layout details and announces that Flutter Web has entered its stable release, providing concise summaries and visual references for developers eager to master modern web front‑end technologies.
CSS LayoutFlexboxflutter-web
0 likes · 2 min read

This comprehensive guide uncovers the often‑overlooked intricacies of Flexbox, from axis terminology and logical properties to flex‑grow, flex‑shrink calculations, alignment nuances, and practical examples, helping developers avoid common pitfalls and create robust, responsive UI layouts.
CSS LayoutFlexboxFlexbox Calculations
0 likes · 32 min read

This article explores the concept, use‑cases, and step‑by‑step implementation of a high‑performance dual‑column waterfall (masonry) layout for mobile H5, covering Flexbox structure, dynamic data distribution, error‑correction techniques, and a DP‑based optimal arrangement algorithm.
DP algorithmDynamic LoadingFlexbox
0 likes · 13 min read

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.
CSSFlexboxmobile layout
0 likes · 26 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

This comprehensive guide walks you through essential CSS layout techniques—including horizontal and vertical centering, equal‑height columns, sticky footers, 12‑column grids, holy‑grail layouts, and responsive design—using Flexbox and Grid with clear code examples and visual demos.
CSSFlexboxGrid
0 likes · 25 min read

The article presents a Swift‑based declarative UI framework for UIKit that replaces AutoLayout with a flexible, CSS‑like style system, reactive state handling, and extensible layout nodes, enabling cleaner code, efficient animated lists, and improved development speed while planning future optimizations such as dirty‑checking and virtual layouts.
Declarative UIFlexboxReactive Programming
0 likes · 11 min read

The article presents the FoxPage Native platform developed by Trip.com to address homepage iteration challenges by using a JSON‑based DSL, Flexbox layout, and a modular architecture that enables high‑performance, dynamic, and multi‑device UI rendering with low development cost.
DSLFlexboxarchitecture
0 likes · 12 min read


21CTOJul 6, 2019 · Mobile Development
Zhihu’s Morph dynamic solution, built on a Flexbox‑based DSL and JSON, enabled rapid, cross‑platform updates of mobile ad cards, dramatically reducing rollout time from eight days to one and supporting over 70 styles with minimal impact on app size and performance.
Ad TechDSLDynamic UI
0 likes · 20 min read

Litho is a Facebook‑originated declarative framework for building high‑performance Android UI, replacing XML layouts with component‑based code, leveraging Yoga for async layout, flattening view hierarchies, and offering fine‑grained reuse to dramatically improve RecyclerView scrolling speed and memory consumption.
@ComponentAndroidDeclarative UI
0 likes · 17 min read

This article explores how to create a flexible overflow effect using pure CSS—leveraging flex‑wrap, @supports, and container queries—to display different text snippets based on container size, while providing fallbacks for browsers that lack modern features.
CSSFlexboxcontainer-queries
0 likes · 7 min read

This article explains how React Native adopts the CSS Flexbox model for layout, details the Flexbox algorithm and properties, and demonstrates using the Dimensions and Platform APIs to build cross‑platform responsive interfaces with practical code examples.
Dimensions APIFlexboxPlatform API
0 likes · 12 min read


Aotu LabApr 14, 2017 · Frontend Development
This article explains the sticky‑footer problem when page content is short, defines the sticky‑footer effect, and provides four CSS‑based solutions—absolute positioning, calc(), table layout, and Flexbox—detailing their code, advantages, and drawbacks for responsive web design.
FlexboxSticky FooterWeb Layout
0 likes · 6 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

In this second‑edition Quick Q&A, the author answers practical CSS questions about choosing a build setup, customizing radio button colors, using Flexbox for responsive layouts, and selecting useful books and resources for front‑end developers.
CSSFlexboxfrontend
0 likes · 7 min read

This tutorial walks through building a mobile-friendly form component with clickable input areas, interactive right‑arrow icons, error‑handling icons, a fake search box, and a custom range slider, showcasing HTML structure, SCSS flex layout, and reusable code snippets.
FlexboxMobile UIform design
0 likes · 5 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

This article walks through the development of the HandQ Weather H5 page, covering REM‑based responsive layout, Flexbox sectioning, HTML5 canvas charts and animations, CSS3 transitions, and a suite of performance and compatibility optimizations for mobile browsers.
CanvasFlexboxperformance optimization
0 likes · 20 min read
