Stop writing CSS like this: "I’ll try position: absolute and see what happens."
Start writing CSS like this:
Before you write any custom CSS, kill the browser defaults. CSS Demystified Start writing CSS with confidence
* margin: 0; padding: 0; box-sizing: border-box;
body line-height: 1.5; font-family: system-ui, -apple-system, sans-serif;Stop writing CSS like this: "I’ll try position: