CSS Maid is a tool for that helps clean up & reset default css! It resets default padding & margin, remove text-decoration on anchor tag, and many more!
# install with npm
npm i css-maid
# install with yarn
yarn add css-maid
- HTML via CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/css-maid@2.0.0/Maid.min.css" />
- React.js
import "css-maid";
const App = () => {
return (
<div>
<h1>Yes, it's that easy!</h1>
</div>
);
};
export default App;
* {
padding: 0;
margin: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
font-family: inherit;
vertical-align: baseline;
font-size: 100%;
}
a {
text-decoration: none;
}
ol,
ul {
list-style: none;
}
input,
textarea {
outline: none;
}
textarea {
resize: none;
}