Base Styles
This page introduces the base styles defined in the @lism-base layer.
Reset CSS
The Reset CSS is defined as the @lism-base.reset layer.
↓
Source code
The reset.css is designed to follow browser default styles as closely as possible.
It is intentionally minimal, containing only what is strictly necessary.
Loading only the Lism CSS reset.css
↓
Import via JavaScript
import 'lism-css/reset.css';Or alternatively:
↓
Load via CDN
<link href="https://cdn.jsdelivr.net/npm/lism-css/dist/css/reset.css" rel="stylesheet" />Base styles
In addition to the Reset CSS, the @lism-base layer defines default base styles for HTML elements, making use of tokens defined on :root.
↓
Source code
Preview of basic HTML styles
The following is a preview of the basic HTML styles with only @lism-base applied.
↓
Preview
View in full screen