Classless.css is one small CSS file, which defines few but great styles for basic HTML5 tags plus a few classes for grid and spacing. Nothing more. Nothing less.
Demo: at classless.de
- Small. Only 400 lines of pure CSS3 for tooltips, grid, navigation bar, cards and more.
- Modular. Don't need all features? The CSS file is structured into feature groups, simply delete what you don't need².
- Responsive. We use media queries, em/rem units, and smart overflows for tables and code.
- Bootstrap Compatible. Special features that require classes use the same names as Bootstrap.
¹: we import the font 'Open Sans' but if it fails, we fallback to Helvetica.
²: we also offer a pre-made tiny version (90 lines) with only the base styles.
For testing, you can simply insert the following line into your HTML file. For production, please host the classless.css file yourself.
<link rel="stylesheet" href="https://classless.de/classless.css">
Comparison of Minimal Frameworks
|Chrome, FF||Chrome, FF, Opera
Classeless 0.94 Tests
|Chromium 87.0 on Ubuntu 18.04||perfect|
|FireFox 85.0 on Ubuntu 18.04||perfect|
|FireFox 84.0 on Windows 10||perfect|
|Edge 42.17 on Windows 10||good¹|
|Edge 88.0 on Windows 10||perfect|
|IE 11 on Windows 10||poor²|
|FireFox 85.1 on Android 10||perfect|
|Samsung Browser on Android 10||perfect|
|Safari on iPhone 10||perfect|
¹: drop letter slightly below baseline, citations slightly too high
²: body full width, table and code styles ignored, cite elements overlap text