start work on Astro port
This commit is contained in:
22
src/styles/reset.css
Normal file
22
src/styles/reset.css
Normal file
@@ -0,0 +1,22 @@
|
||||
/* This reset lifted largely from Josh Comeau's "CSS for JS Devs" course */
|
||||
|
||||
/* Use a more-intuitive box-sizing model. */
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Remove default margin */
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Allow percentage-based heights in the application */
|
||||
html, body {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
/* Improve media defaults */
|
||||
img, picture, video, canvas, svg {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user