# CSS Finally Gets Inline Conditional Logic With New if() Function

**URL:** <https://homebrew-website.club/t/css-finally-gets-inline-conditional-logic-with-new-if-function/87>\
**Category:** General\
**Created:** [October 20, 2025, 11:13am UTC](https://homebrew-website.club/t/css-finally-gets-inline-conditional-logic-with-new-if-function/87 "2025-10-20T11:13:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![egoexpress](https://homebrew-website.club/user_avatar/homebrew-website.club/egoexpress/32/11_2.png) [@egoexpress](https://homebrew-website.club/u/egoexpress)\
**Post date:** [October 20, 2025, 11:13am UTC](https://homebrew-website.club/t/css-finally-gets-inline-conditional-logic-with-new-if-function/87/1 "2025-10-20T11:13:34Z")

</div>

> **[CSS Finally Gets Inline Conditional Logic With New if() Function](https://thenewstack.io/css-finally-gets-inline-conditional-logic-with-new-if-function/)**
>
> Powerful inline conditional logic comes to stylesheets for the first time. Here's how it works and what it means for developers.

Finde ich grundsätzlich interessant. Was sagen denn die intensiveren CSS-Nutzer unter uns dazu?

Die Browser-Unterstützung ist bisher noch übersichtlich, aber das wird schon noch (und ist wohl auch erst der Anfang?) Damit hätte ich dann die Logik in Teilen raus dem JS-Code und an verteilten Stellen, das ist der Teil der mich noch nicht komplett überzeugt.
