css reset

Showcase of a modern CSS reset and baseline styling minified to 2.3Kb

CSS reset with Baseline.CSS

Baseline.css is a modern CSS reset designed to ensure a very consistent styling across all modern browsers. A frontline CSS framework that removes unnecessary browser settings and provides a clean slate for your web projects, making it a must have tool overly valuable for all: project managers, web developers and beginners alike. Available for 🙟 download 🙝


Differences between our Baseline.CSS reset Versions 1.0 vs 2.0

Baseline.CSS Version 1.0 - Initial Release in 2024

The initial version of baseline.css was introduced as a foundational stylesheet aimed at creating a uniform and consistent design across all webpages, while also improving accessibility and mobile responsiveness. Created to replace normalize.css of Nicolas Gallagher with an up-to-date and sophisticated approach, the latest performance improvements and ensuring wide flexibility.

Baseline.CSS Version 2.0 - Initial Release in 2025

Historically, the main goal of a CSS reset has been to ensure consistency between browsers and to undo all default styles, creating a blank slate for your webpages, but nowadays, modern browsers do not have massive discrepancies regarding the layout display and spacing, thus, it is not really necessary to strip away all of the browser default settings. Does speed really matter?

Baseline.CSS Mobile First responsiveness and flexibility

Mobile First

Mobile-First Design: As part of KERNAMON's focus on ensuring that every webpage is optimised for mobile users, baseline.css includes responsive layout techniques, making it easier to create webpages that adjust seamlessly to different screen sizes. We aimed at creating a CSS reset with a very strong emphasis on implementing mobile-first design.

Modern smartphones have 2x and 3x hi-dpi displays. That means that, as an example, an area of the webpage being measured as 300px in CSS will need 600 or 900 device pixels worth of image data to look nice and crisp. As a web developer, many times, you have the feeling that you need to “squeeze” large images into much smaller spaces on your webpages.


Fonts & Typography

Font & Typography Standardisation: baseline.css introduces a standardised font setup for your webpages, helping you to maintain consistent text styling across various sections of your website or web app. This approach eliminates the need for you to manually define font styles for every webpage, saving you a lot of time and effort.


CSS reset & Box Model

Simplified Box Model: According to the CSS box model, the web browsers supply each element as a square prism, but our framework implements a simplified version of the box model, reducing potential conflicts between default browser styles. By defining the box-sizing property, baseline.css ensures that padding and border widths do not impact element the width calculations. Cool?


Across Browsers 100%

Cross-Browser Compatibility: One of the primary goals of baseline.css is to ensure that the CSS styling is consistent across all browsers. Carefully tested and optimised, by doing so, it eliminates many of the discrepancies that might appear between web browsers and ensures a smooth user experience on all web platforms.

Universal CSS Reset: In order to avoid the need for extensive resets on each and every individual webpage’s CSS, baseline.css incorporates a universal CSS reset that clears out default browser styles. This allows web developers to start with a clean slate when building their own custom themes and layouts.

Lightweight Design: Keeping a design simple and lightweight is a key factor to enhance web performance. Therefore, baseline.css eliminates unnecessary rules, which results in much smaller file sizes and faster webpage loads. This leads to improved SEO rankings, bearing in mind that the speed of your website is a crucial factor for search engine optimisation.


Modular Design

Modular Components: In line with KERNAMON’s approach to modularity, baseline.css can be easily extended or modified as needed. Users can build upon it with their own custom styling, knowing that the base styles remain intact while still offering flexibility for customisation.


Why baseline.css?

Baseline.CSS was specifically designed to cater to the needs of both developers and users. Its very lightweight, flexible and mobile-first nature makes it a perfect starting point for any custom theme or website design. With its focus on consistency, performance and cross-browser compatibility, it provides the perfect foundation for any web project.

What if you need to “undo” something on baseline.css?? Well, if you are formatting a huge amount of text content such as a Terms & Conditions webpage, you might want to “undo” certain things, almost for sure. Therefore, in those situations you can use the CSS revert keyword.

Future Updates? As web technologies continue to evolve, baseline.css will also be updated to meet future web standards and enhance performance further on, while adhering to Open-Source standards. Stay tuned for future improvements and new features as the KERNAMON team will continue to refine the Baseline.CSS framework for the general public.

Baseline.css is more than just a reset, it’s a starting point for modern web design. By focusing on mobile-first principles, modularity, performance and security, it empowers developers to create responsive, accessible and visually appealing webpages. Stay tuned for any updates and future enhancements as the CSS framework continues to evolve.

CSS reset & stylesheet on GitHub

Baseline.css is an Open-Source CSS Stylesheet available on GitHub.com/KERNAMON

Well, why don't you check out what is happening on our GitHub profile, repositories & projects?