CSS: Guides and Practical Know-how | Page 3 | mironsoft Blog
CSS
-
Mar 31, 2026
A long table breaking mid-row when printed is one of the most visible CSS bugs on invoices and order confirmations. With break-inside: avoid for rows and a correctly used thead as a repeating header, page breaks can be controlled deliberately so every page stays readable on its own, with no JavaScript or server-side PDF rendering required.
-
Mar 29, 2026
Your CSS architecture choice shapes team productivity, bundle size, maintainability, and onboarding effort for years to come. CSS-in-JS, Utility-First CSS, and Vanilla CSS all solve the same underlying problem with fundamentally different approaches, and each one has specific contexts where it comes out ahead.
-
Mar 25, 2026
Design tokens solve a synchronization problem that affects every cross platform product: colors, spacing and typography must be identical across web, iOS and Android, without three teams manually maintaining the same value three times over. An automated transformation pipeline turns a single JSON source into consistent CSS, Swift and Kotlin, without drift between platforms.
-
Mar 24, 2026
Native CSS nesting lets you write nested selectors directly in the stylesheet, no preprocessor needed. But every extra level of nesting automatically increases the specificity of the resulting selector and the number of characters the browser has to process during parsing and matching, which has real maintainability and performance consequences past a certain depth.
-
Mar 24, 2026
Anyone who manually synchronizes colors, spacing, and typography between Figma and Tailwind CSS creates inconsistencies and extra work. Design tokens as a single source of truth connect Figma Variables directly with Tailwind CSS v4, automatically, scalably, and with multi-theme support.
-
Mar 24, 2026
Tailwind CSS v4 is not an incremental improvement, it is a complete rearchitecture. The Oxide engine replaces the Node.js-based build process with a Rust-native implementation, @theme replaces tailwind.config.js, and the CSS-first approach fundamentally changes how Tailwind is configured.
-
Mar 20, 2026
A single change inside a widget often triggers a style recalculation for the entire page in the browser, because cascade and layout act globally by default. CSS containment deliberately limits this blast radius to individual components, turning unpredictable rendering cost into a predictable, local matter.
-
Mar 20, 2026
The glassmorphism trend combines transparency, blur effects and subtle borders into a visually appealing glass look. With Tailwind CSS, the necessary utilities backdrop-blur, bg-white/10 and border-white/25 are available out of the box, but the devil is in the details of contrast, performance and accessibility.
-
Mar 18, 2026
Attribute selectors are usually reduced to [class] and [id], yet the specification includes prefix, suffix and substring matching, a case-insensitive flag, and the ability to use data attributes as a complete styling interface. This recipe collection shows how much declarative logic lives inside the selector alone.
-
Mar 17, 2026
Once a shop offers a store view with Arabic or Hebrew, the layout has to adapt automatically to the writing direction, right to left instead of left to right. The :dir() pseudo-class reacts directly to an element's actually computed text direction, unicode-bidi controls behavior for mixed text, and logical properties handle the rest, with no JavaScript snippet ever needing to detect the direction.