Grid

Recent Articles

Sort Options:

Making a Masonry Layout That Works Today

Making a Masonry Layout That Works Today

CSS-Tricks explores innovative approaches to implementing a masonry layout using just 66 lines of JavaScript, ensuring compatibility across browsers. The article provides a step-by-step guide, making it easy for developers to create responsive masonry grids.


What is a masonry layout and why is it challenging to implement with pure CSS?
A masonry layout arranges unevenly sized elements in a grid without gaps, resembling a brick wall pattern. Implementing it purely in CSS is challenging because CSS Grid places items in predefined rows and columns, which conflicts with masonry's need for items to flow naturally without fixed row alignment. Current CSS solutions either rely on column-based layouts that disrupt horizontal source order or require JavaScript to achieve the desired ragged row effect.
Sources: [1], [2], [3]
How does the article's approach using 66 lines of JavaScript improve masonry layout compatibility across browsers?
The article presents a method that uses a minimal amount of JavaScript (66 lines) to dynamically calculate and position grid items, enabling a responsive masonry layout that works consistently across different browsers. This approach overcomes the limitations of current CSS-only methods by managing item placement and sizing in a way that preserves horizontal source order and avoids uneven gaps, ensuring better compatibility and responsiveness.

28 July, 2025
CSS-Tricks

Nothing Community introduces Matrices to make Glyph Mirror-style wallpapers

Nothing Community introduces Matrices to make Glyph Mirror-style wallpapers

A playful debate emerges over the preference for circular versus square pixels in digital design. The authors explore the implications of these shapes on aesthetics and functionality, inviting readers to consider their own preferences in this intriguing design discussion.


What is the purpose of the Matrices tool introduced by the Nothing Community?
The Matrices tool allows users to create clean, matrix-style visuals for wallpapers and profile pictures, offering features like undo/redo, image editing tools, and customization options for pixel gaps, resolution, and shape.
Sources: [1]
What is the Glyph Matrix on the Nothing Phone 3, and how does it differ from previous Glyph interfaces?
The Glyph Matrix is a disc-shaped, monochrome LED display on the back of the Nothing Phone 3, made up of 489 individually controllable pixels. It serves as an abstracted second screen, offering features like custom pixel avatars, glanceable caller ID, and recording indicators, differing significantly from the previous Glyph interfaces.
Sources: [1], [2]

25 July, 2025
PhoneArena

Nothing Phone (3)

Nothing Phone (3)

The Glyph Matrix introduces an innovative approach to lighting design, enhancing visual experiences beyond traditional methods. The publication explores its potential impact on various industries, showcasing how this technology can transform environments and elevate user engagement.


What is the Glyph Matrix on the Nothing Phone (3) and how does it differ from the previous Glyph Interface?
The Glyph Matrix is a new lighting and display system on the back of the Nothing Phone (3) consisting of 489 micro-LEDs arranged in a dot-matrix style. Unlike the previous Glyph Interface, which used segmented light strips to flash patterns for notifications, the Glyph Matrix can display dynamic monochrome pixel art, animations, symbols, and interactive 'toys' such as mini-games and tools. This transforms the back of the phone from a simple notification light into an expressive, functional display that can show app-specific alerts, battery status, caller portraits, and more.
What practical uses and features does the Glyph Matrix offer beyond traditional notification lights?
Beyond simple notifications, the Glyph Matrix can display a variety of practical information such as the time, battery percentage, and caller identification through pixelated portraits. It also supports interactive features called 'Glyph Toys,' which include mini-games like rock-paper-scissors and spin the bottle, as well as tools like a stopwatch and battery indicator. This adds a playful and functional dimension to the phone's rear display, enhancing user engagement and interaction.

02 July, 2025
Product Hunt

An unhandled error has occurred. Reload 🗙