반응형
css 첫 부분에 넣어 사용하는 리셋 코드입니다.
<!-- CSS Reset -->
<style>
body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,select,table,td,textarea,th,ul{margin:0;padding:0}
body,button,input,select,table,textarea{font-size:12px;font-family:Dotum,'돋움',Helvetica,"Apple SD Gothic Neo",sans-serif}
button,input{border-radius:0}
fieldset,img{border:0}
ol,ul{list-style:none}
address,em{font-style:normal}
a{text-decoration:none}
a:hover{text-decoration:underline}
iframe{overflow:hidden;margin:0;padding:0;border:0}
</style>
반응형
'웹 > css' 카테고리의 다른 글
CSS 수직 정렬(transform 이용), 너비 계산(calc) (0) | 2021.11.18 |
---|
최근댓글