์ฝ”๋“œ๋„ ์ ์–ด์ง€๊ณ  ๊ดœ์ฐฎ์€ ๋ชจ์Šต๊ฐ™์•„ ๋ณด์ธ๋‹ค.

/*** The new CSS Reset - version 1.0.0 (last updated 8.7.2021) ***/

/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)){
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after{
    box-sizing: border-box;
}

/* Remove list styles (bullets/numbers) */
ol, ul {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table{
    border-collapse: collapse;
}

์ถœ์ฒ˜: https://github.com/elad2412/the-new-css-reset/blob/main/css/reset.css

๋ฉ”ํƒ€๋ฐ์ดํ„ฐ

์กฐํšŒ์ˆ˜
594
์ข‹์•„์š”
0

1๊ฐœ์˜ ๋Œ“๊ธ€

์ด ๋ฐฉ์‹์€ ๋„ˆ๋ฌด ๊ณผ๊ฒฉํ•œ ๋ฐฉ์‹์ด๋‹ค. ํŠนํžˆ all: unset ๋ถ€๋ถ„์€ ์—˜๋ฆฌ๋จผํŠธ์˜ ์„ฑ๊ฒฉ๊นŒ์ง€ ํ›ผ์†์‹œ์ผœ ๋ฒ„๋ฆฌ๊ธฐ ๋•Œ๋ฌธ์— ์ด ๊ธ€์— ์žˆ๋Š” ์†Œ์Šค๋Š” ๊ทธ์ € ์ฐธ๊ณ ๋งŒ ํ• ๋ฟ ์‚ฌ์šฉ์€ ์ž์ œํ•˜์ž.