CSS Design Framework
for AI and Humans
Build harmonious layouts with ease.
Refined CSS architecture starts here.
The Tab key inserts indentation. To move focus out of the editor, press Escape and then Tab.
Features
A Sophisticated Design Theory
Lism CSS is a lightweight CSS framework for building pleasing layouts quickly and easily. We designed its CSS from the ground up to let a mathematically beautiful, harmonious rhythm emerge naturally in your designs.
Layout Primitives
Common layout patterns like Flex, Grid, Stack, and Columns are provided as primitive classes. Combine them to build your site structure in no time.
Harmonic Scale
Spacing, font sizes, line heights, and more are designed with harmonic ratios. The included typography system naturally brings a pleasing rhythm to your designs.
Design Tokens
Values for colors, typography, spacing, border radius, shadows, and more are organized into scales and provided as CSS variables. They maintain consistency across your site and improve reusability.
Property Class
Each utility class corresponds to a single CSS property and is defined in the clear -prop:value format. This reduces confusion for AI and makes styling intuitive for people.
CSS Layer Architecture
A strict CSS layer design using @layer. It prevents specificity conflicts and helps you organize classes naturally by their roles, supporting both extensibility and maintainability.
Responsive
We developed a unique responsive approach combining classes (-prop_bp) and CSS variables (--prop_bp). It supports a wide range of layouts while keeping file sizes small.
Artificial Intelligence
AI Tool Integration
Lism CSS is designed with AI agents in mind. With an MCP server, Skills, and documentation that AI can easily read, AI coding agents like Claude Code, Codex, and Cursor can accurately understand the Lism system and generate code that matches your intent.
MCP Server
Connect the MCP server to let AI agents search and retrieve Lism CSS specifications. They can look up component usage, props, design tokens, and other information they need while coding.
Connect MCP →Skills
Skills that teach AI agents how to use Lism CSS. By correctly understanding Lism CSS’s naming conventions and design principles, AI can generate accurate code that follows best practices.
Install Skills →Templates
Lism CSS Templates
We offer templates and design patterns built with Lism CSS. Simply copy and paste to try them out, and use them as a starting point for your site.
Get Started
Lism CSS Works Everywhere
No build process, no setup required.
Just load a single CSS file to add Lism CSS to your site.