Skip to main content
← All Tags

CSS functions

6 articles in this category

AI NewsCSS functionsmath functions

Dynamic E-commerce Price Calculations with Modern CSS Math

Utilize modern CSS functions like attr(), mod(), and round() to calculate and display discounted product prices natively, eliminating JavaScript latency and browser resource overhead.

Read more
AI NewsArticlesCSS functions

The Evolution of Native Randomness in CSS

CSS Module Level 5 introduces native random() and random-item() functions, enabling dynamic, generative layouts without JavaScript or pre-processor hacks.

Read more
AI NewsCSS functionshtml elements

Advanced UI Patterns with the New Customizable Select API

Learn how the new appearance: base-select property unlocks full CSS styling for HTML select elements in Chromium browsers.

Read more
AI NewsCSS functionsshapes

Responsive Hexagon Grid Using Modern CSS

A responsive hexagon grid is achieved with modern CSS features, reducing magic numbers and simplifying implementation.

Read more
AI Newscontainer-queriesCSS functions

The Range Syntax Has Come to Container Style Queries and if()

Chrome 142 introduces range syntax for container style queries and if(), enabling numeric comparisons with custom properties and attr().

Read more
AI NewsCSS functionsmath

The 'Most Hated' CSS Feature: Understanding tan() in CSS

Explore the CSS `tan()` function, its mathematical foundation, and practical applications for creating dynamic shapes and layouts. Learn why it's dubbed the 'Most Hated' CSS feature.

Read more