Click any tag below to further narrow down your results
Links
This article discusses how to adjust letter-spacing in web typography based on font size for better readability. It explains the CSS clamp function and provides code examples to achieve a smooth transition in letter-spacing as the font size increases.
This article introduces Styleframe, a TypeScript CSS API designed for building scalable design systems. It highlights features like zero-runtime CSS generation, customizable themes, and seamless integration with design tools like Figma. Additionally, it showcases fluid responsive design principles for adaptive typography and spacing.
The article critiques responsive design practices where layouts switch to mobile versions too soon, leading to awkward displays. It emphasizes the importance of maintaining design integrity by using more breakpoints and adapting layouts dynamically.
Anchor positioning simplifies the process of placing elements on a webpage relative to other elements, allowing for responsive design using only CSS. By establishing a connection between an anchor (e.g., an avatar) and a target (e.g., a menu), developers can easily control the menu's position with properties like position-area and anchor(). This method enhances flexibility, especially for mobile views where space is limited.
CSS inline conditionals with the if() function are now available in Chrome 137, allowing developers to create cleaner, more dynamic styles using condition-value pairs. This function supports style, media, and supports queries, enabling streamlined inline logic for responsive designs and state-based styling. Future enhancements may include range querying and integration with custom functions in CSS.
A collection of CSS custom functions is available that utilizes the native CSS @function rule, requiring no build step for integration. Currently supported in Chrome 141+, it includes around 43 functions for various tasks, including math, color manipulation, typography, and layout, making CSS more efficient and streamlined for developers.