Skip to content

Commit

Permalink
refactor: keep normalize.css pristine (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Apr 10, 2024
1 parent 24c87ae commit 53957b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
@tailwind base;

@layer base {
*,
::before,
::after {
/* Override the browser default border width in order to style individual border sides
* Ref: https://stackoverflow.com/a/76961084
*/
border-width: 0;
}
/* Override Tailwind's default `text-decoration` rule. */
/* https://github.com/tailwindlabs/tailwindcss/blob/master/src/css/preflight.css#L85 */
a {
Expand Down
8 changes: 0 additions & 8 deletions src/normalize.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
*,
::before,
::after {
/* Override the browser default border width in order to style individual border sides
* Ref: https://stackoverflow.com/a/76961084
*/
border-width: 0;
}
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
Expand Down

0 comments on commit 53957b8

Please sign in to comment.