You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Setting the Value Callback](#setting-the-value-callback)
24
24
25
25
## Overview
26
26
27
+
**WordPress Dynamic CSS** is a lightweight library for generating CSS stylesheets from dynamic content (i.e. content that can be modified by the user). The most obvious use case for this library is for creating stylesheets based on Customizer options. Using the special dynamic CSS syntax you can write CSS rules with variables instead of static values.
28
+
29
+
## Basic Example
30
+
31
+
**`functions.php`**
32
+
33
+
```php
34
+
// 1. Load the library
35
+
require_once 'wp-dynamic-css/bootstrap.php';
36
+
37
+
// 2. Set the callback function (used to convert variables to actual values)
0 commit comments