mirror of
https://github.com/nicolas-cusan/destyle.css.git
synced 2025-09-01 01:01:48 +02:00
Add default border-style and width (to 0)
This commit is contained in:
15
destyle.css
15
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,
|
::before,
|
||||||
::after {
|
::after {
|
||||||
box-sizing: inherit;
|
box-sizing: border-box;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Document */
|
/* Document */
|
||||||
@@ -110,7 +109,7 @@ hr {
|
|||||||
height: 0; /* 1 */
|
height: 0; /* 1 */
|
||||||
overflow: visible; /* 2 */
|
overflow: visible; /* 2 */
|
||||||
border: 0;
|
border: 0;
|
||||||
border-top: 1px solid;
|
border-top: 1px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
Reference in New Issue
Block a user