Feature Flags in HTML/CSS

Feature flags are supported in plain HTML/CSS websites for controlling the visibility of elements on the page.

<head>
    <link href="https://client.toggly.io/<YOUR_APP_KEY>-<YOUR_APP_ENVIRONMENT>/defs.css" rel="stylesheet" />
</head>

<div feature-key="Feature1 Feature2" feature-condition="any">
    Feature1 or Feature2 are on
</div>

Last updated