From bf5454cc09a043cfd1c8337f43778facbd583b2f Mon Sep 17 00:00:00 2001 From: Nicolas Cusan Date: Thu, 15 Oct 2020 17:47:01 +0200 Subject: [PATCH] update version --- destyle.css | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/destyle.css b/destyle.css index 1235b48..318223e 100644 --- a/destyle.css +++ b/destyle.css @@ -1,15 +1,14 @@ -/*! destyle.css v1.0.15 | MIT License | https://github.com/nicolas-cusan/destyle.css */ +/*! destyle.css v2.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */ -/* Reset box-model */ +/* Reset box-model and set borders */ /* ============================================ */ -* { - box-sizing: border-box; -} - +*, ::before, ::after { - box-sizing: inherit; + box-sizing: border-box; + border-style: solid; + border-width: 0; } /* Document */ @@ -110,7 +109,7 @@ hr { height: 0; /* 1 */ overflow: visible; /* 2 */ border: 0; - border-top: 1px solid; + border-top: 1px; margin: 0; clear: both; color: inherit; @@ -211,15 +210,10 @@ sup { * Remove the border on images inside links in IE 10. */ -img { - border-style: none; - vertical-align: bottom; -} - +img, embed, object, iframe { - border: 0; vertical-align: bottom; }