<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/baselayer.css@latest/dist/baselayer.css">
or
$ npm i baselayer.css
Baselayer.css is a low-specificity stylesheet for native HTML elements. It requires no classes, and it gives you nothing beyond normalized, styled native HTML elements. There is no grid, there are no components, just the bare basics.
- Sensible defaults for native HTML elements (no classes necessary).
- Visual consistency (CSS custom props FTW)
- Themeable (see above)
- Stardards-compliant browser support (press f for ie)
- Tiny size (~3KB gzipped)
Why does this exist?
For most of my projects I don't want or need an entire CSS framework, but I found myself writing minor variations of the same resets and CSS custom props over and over. Baselayer.css is my attempt to codify this into something focussed, consistent and reusable.
Is this for you?
Baselayer.css will make your HTML look nice without any extra effort, it will give you basic CSS custom-props for color and spacing, it's seriously small, and it won't get in the way of the rest of the stuff you want to build. If that sounds good to you, baselayer.css may be for you.
There are plenty of good reasons to choose another tool instead:
- "I just want a CSS reset." Use Josh Comeau's reset or Eric Meyer's reset.
-
"I like what you're doing here, but it's a little too minimal, and I really wish borders were
box-shadow
instead ofborder
." Use water.css. - "I want a small CSS framework, but I need a grid and some components." Use Miligram, Mustard, or Bulma.
- "I know what I'm about son, and what I'm about is blue buttons." Use Bootstrap or Foundation.
- "CSS SUCKS!!! Have you tried Tailwi..." *sigh. Go Tailwind it up.
H1 Heading
Incognito API spy vaporware chmod serverless resource. Build tool Twitter accessibility legacy Linux spy gate-keeping CS degree distributed systems. Little Bobby Tables Cloudfront var cross-post lang graph instance injection. Compile keycaps blockchain composition k virtual DOM DAG interface. Rm -rf * brownfield pull request variable architecture engineer JQuery Slack cloud legacy.
Shareware resolve compile JSON tech debt programmer spaghetti code blockchain CSS grid. Documentation driven bootcamp bootcamp animation backend scalable ecommerce platform. Ubuntu lazy load code-splitting Slack yarn JavaScript Byzantine fault tolerance driver one-size-fits-all approach. Continuous integration Ada Lovelace Ubuntu Safari homebrew functional programming big O LGTM fault tolerant.
H2 Heading
Maybe you want to add an h3 Heading as a subtitle, and you just wish the spacing looked good.
Cache Edge lang command-line engineer concurrent tabs vs spaces. Stateless Ubuntu child CSS-in-JS parent virtual DOM one-size-fits-all approach document object model remote. Cherry pick database design lazy eval OOP atomic design MIT license resolve k JQuery.
- Rails: Rails is a full-stack framework. It ships with all the tools needed to build amazing web apps on both the front and back end.
- PHP: PHP is a popular general-purpose scripting language that is especially suited to web development.
-
JavaScript:
JavaScript, often abbreviated JS, is a programming language that is one of the core technologies of the World
Wide Web, alongside HTML and CSS
- Node.js
- React
- Vue
- Rust: Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency.
H3 Heading
Antipattern j package manager SRE machine learning merge sort. Internet button class Internet Explorer mobile app polemical thinking k data store greedy algorithm contribution +1. Key-value injection array code-splitting npm private object library raspberry pi Github.
- First
- Second
- Third
- Fourth
- Fifth
- Sixth
- Seventh
- Eighth
- Ninth
- Tenth
- Eleventh
Linker maintainable pull request module remote commit Safari. Elixir GraphQL bike-shedding callback CS degree devops j coding abstraction websockets. Atomic design DOM blog spy module casting MVP. Scalable blockchain attributes Ruby views sudo behavior-driven engineer circle back contribution. MIT license maintainable build tool Angular Byzantine fault tolerance callback hell dependency injection asynchronous infrastructure.
A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.
It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.
Said no one, ever.
Inline Elements
Strong is used to indicate strong importance.
This text has added emphasis.
The b element is stylistically different text from normal text, without any special importance.
The i element is text that is offset from the normal text.
The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.
This text is deleted
and
This text is inserted.
This text has a strikethrough.
Superscript®.
Subscript for things like H2O.
This small text is small for for fine print, etc.
Abbreviation: HTML
This text is a short inline quotation.
This is a citation.
The dfn element indicates a definition.
The mark element indicates a highlight.
The variable element, such as x = y.
The time element:
Table
Heading 1 | Heading 2 | Heading 3 | Heading 4 | Heading 5 |
---|---|---|---|---|
Footer 1 | Footer 2 | Footer 3 | Footer 4 | Footer 5 |
Table Cell 1 | Table Cell 2 | Table Cell 3 | Table Cell 4 | Table Cell 5 |
Table Cell 1 | Table Cell 2 | Table Cell 3 | Table Cell 4 | Table Cell 5 |
Table Cell 1 | Table Cell 2 | Table Cell 3 | Table Cell 4 | Table Cell 5 |
Table Cell 1 | Table Cell 2 | Table Cell 3 | Table Cell 4 | Table Cell 5 |
Pre + Code
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Pre
P R E F O R M A T T E D T E X T ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~
img
figure
video
iframe
Dialog
Details
Click for more Details
Ruby views sudo behavior-driven engineer circle back contribution. MIT license maintainable build tool Angular Byzantine fault tolerance callback hell.