Paul Krill
Editor at Large

Mozilla launches CSS Flexbox inspector

news
Jan 15, 20191 min

The powerful but complex flexible-elements CSS feature stumps many developers

jumping woman flexible agile dancer
Credit: Thinkstock

Mozilla’s FirefoxDevTools group has built a tool for examining CSS Flexbox layouts, called Flexbox Inspector. The tool helps developers understand the sizing, positioning, and nesting of Flexbox elements

CSS Flexbox Layouts, or CSS Flexible Box Layout, is a CSS module defining a CSS box model optimized for user interface design, with the layout in one dimension. It is growing in popularity for building dynamic page layouts. With the flex layout model, children of a flex container can be laid out in any direction and “flex” their sizes, growing to fill unused space or shrinking to avoid overflowing the parent.  

In developing Flexbox Inspector, Mozilla constructed a tool based on the concepts of CSS Grid Inspector, for examining CSS Grid layouts. CSS Flexbox has a steep learning curve, so the Mozilla team gathered data to help build the basic feature set. In a user survey, minimum/maximum width and height constraints received the highest score for areas that developers needed help on. And shrink/grow features had a higher-than-expected ranking.

Where to download Flexbox Inspector

You can download Flexbox Inspector from Firefox Quantum: Developer Edition.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author