New

Uniform CSS has now been officially released!
Read more


CDN Configuration

Quickest way to configure and get started.


Drop-in Configuration

Although you may not get the full customization freedom that the Sass version provides, the CDN version still provides lots of ways to customize Uniform CSS in the form of CSS variables (custom properties).


Accessing CDN Build

Loading Uniform CSS through a CDN is the quickest and easiest way to get up and running. Include the following CDN stylesheet in the head of your HTML.

<link href="https://cdn.jsdelivr.net/npm/uniformcss/css/uniform.min.css" rel="stylesheet">
:root {
--font-sans: 'Inter';
--primary-hue: 46;
}

How it works

Behind the scenes, Uniform CSS generates CSS variables that are then applied to properties like background-color, width, and etc. Since these CSS variables are overridable, you can customize the default Uniform settings by defining your CSS variable overrides inside the :root pseudo selector.

/* myStyles.css */
:root {
--font-sans: 'Inter';
--extrabold: 800;
--primary-hue: 46;
...
}

To see a list of all variables that you can override, inspect this page to see the variables in your developer tools.