κ° λΈλΌμ°μ λ§λ€ κΈ°λ³ΈμΌλ‘ μ€μ λ μ€νμΌ κ°μ΄ μμ΄,
μ΄κΈ°ν μμ
μ ν΅ν΄ λμΌν μ€νμΌ κ°μ 보μ¬μ£Όκ³ μ νλ κ²
βοΈ ν¬λ‘μ€ λΈλΌμ°μ§ (Cross Browsing) ꡬν
https://meyerweb.com/eric/tools/css/reset/
β μμ μ μ°λ κ³ μ (?) 리μ λ°©λ²
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
}
μ΄ λΆλΆμ μμ¦μ
* {}
μ΄λ κ² μ΄λ€ :)
<style>
* {margin:0; padding:0; font:inherit; color:inherit;}
*, :after, :before {box-sizing:border-box; flex-shrink:0;}
:root {-webkit-tap-highlight-color:transparent; -webkit-text-size-adjust:100%; text-size-adjust:100%; cursor:default; line-height:1.5; overflow-wrap:break-word; -moz-tab-size:4; tab-size:4}
html, body {height:100%;}
img, picture, video, canvas, svg {display: block; max-width:100%;}
button {background:none; border:0; cursor:pointer;}
a {text-decoration:none}
table {border-collapse:collapse; border-spacing:0}
ol, ul {list-style: none;}
</style>
μ°Έκ³ μλ£
https://velog.io/@teo/2022-CSS-Reset-%EB%8B%A4%EC%8B%9C-%EC%8D%A8%EB%B3%B4%EA%B8%B0