From b266bf4e3bfc1e3888e83076d2685e9c0bc00670 Mon Sep 17 00:00:00 2001 From: Nicolas Cusan Date: Thu, 15 Oct 2020 17:42:32 +0200 Subject: [PATCH] update docs --- Readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 7c7ad06..5ef1993 100644 --- a/Readme.md +++ b/Readme.md @@ -7,8 +7,8 @@ Opinionated [reset stylesheet](https://cssreset.com/what-is-a-css-reset/) that p ## What it does - Ensures consistency across browsers (thanks normalize.css) -- Removes spacing (margin & padding) -- Resets font-size and line-height +- Removes spacing (margin & padding) and resets font-size and line-height +- Sets some sensible defaults (see [rules](#rules)) - Prevents the necessity of reseting (most) user agent styles - Prevents style inspector bloat by only targeting what is necessary - Contributes to the separation of presentation and semantics @@ -158,6 +158,7 @@ How to create the styles is up to the author, it can be by creating classes, com ## Rules - The box model is set to `border-box` for `*`, `::before` and `::after`. +- The `border-style` is set to `solid` for `*`, `::before` and `::after`, the `border-width` is set to 0 (to hide the borders). - `code`, `pre`, `kbd`, `samp` maintain a monospaced font-family. - `hr` is set to be a solid 1px line using `border-top` that inherits its color from its parent's `color` property. - Inline elements that carry style (`b`, `i`, `strong`, etc.) are not reset.