각 브라우저별 기본 설정값이 다르기때문에 모두 같은 스타일 적용을 위해서 초기화를 해주어야한다.
아래의 사이트에서 선택하여 한가지를 사용하면 된다.
http://html5doctor.com/html-5-reset-stylesheet/
HTML5 Reset Stylesheet | HTML5 Doctor
We’ve had a number of people ask about templates, boilerplates, and styling for HTML 5. Last week, Remy introduced some basic boilerplates for HTML 5, so to keep the momentum going, I’ve modified Eric Meyer’s CSS reset for you to use in your HTML 5 project
html5doctor.com
https://meyerweb.com/eric/tools/css/reset/
CSS Tools: Reset CSS
CSS Tools: Reset CSS The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. The general reasoning behind this was discussed in a May 2007 post, if you're inter
meyerweb.com
'CSS > CSS 기초' 카테고리의 다른 글
flex 크로스 브라우징 / 호환성 이슈 해결 / 모든 브라우저 적용 (0) | 2022.08.02 |
---|---|
[CSS]아이폰 사파리 모바일 input 안쪽 그림자 없애기 (0) | 2019.07.22 |
[CSS]변경되는 css를 미리 브라우저에 알려 성능을 개선하는 will-change (0) | 2019.06.13 |
[CSS] outline & border 속성 (0) | 2019.06.11 |
[CSS] text-shadow 다양하게 적용하기 (249) | 2019.06.04 |
댓글