ํ๋ก์ ํธ
์๊ฐ
๐ฟ ๋ชจ๋ํ CSS ๋ฆฌ์
์น ๋ฐ ์ฑ ๊ฐ๋ฐWhat you can do
- Apply box-sizing: border-box; in all elements.
- Reset padding and margin in all elements.
- Specify background-repeat: no-repeat in all elements and pseudo elements.
- Inherit text-decoration and vertical-align to ::before and ::after.
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +2
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
Original
Modern CSS reset
Installation
npm install --save ress
or
yarn add ress
Features
- Apply
box-sizing: border-box;in all elements. - Reset
paddingandmarginin all elements. - Specify
background-repeat: no-repeatin all elements and pseudo elements. - Inherit
text-decorationandvertical-alignto::beforeand::after. - Remove the
outlinewhen hovering in all browsers. - Specify
font-family: monospacein code elements. - Reset
border-radiusin input elements. - Specify font inheritance of form elements.
- Remove the default button styling in all browsers.
- Specify textarea resizability to vertical.
- Apply
cursor: pointerto button elements. - Apply
tab-size: 4inhtml. - Style
selectlike a standard input. - Style
cursorby aria attributes.
Crossbrowser
ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.
Browser support
- Chrome
- Edge
- Firefox ESR+
- Internet Explorer 10+
- Opera
- Safari 8+
CDN
https://unpkg.com/ress/dist/ress.min.css
# Production
https://cdn.jsdelivr.net/npm/[email protected]/dist/ress.min.css
# Development
https://cdn.jsdelivr.net/gh/filipelinhares/ress@latest/dist/ress.min.css
License
MIT ยฉ Filipe Linhares
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ