reset.css > 공책

본문 바로가기
010.6356.7610
  • design1001@naver.com
  • @design1001
작업물 전체보기

Html+CSS

Html+CSS reset.css

페이지 정보

  • 작성자후야
  • 조회 : 204
  • 작성일 : 2021-01-28 00:27

본문

reset.css

그누보드 초기화 css

/* 초기화 */
html {width:100%;height:100%;overflow-y:scroll}
body {width:100%;height:100%;margin:0;padding:0;font-family: 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;color:#666;font-size:13px;font-weight:300;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-family: 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;color:#666;font-size:13px;font-weight:300;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

ul, li, dl, dt, dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:14px;}
input, button {margin:0;padding:0;font-family: 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;font-size:13px;font-weight:300;}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}

textarea, select {font-family: 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;color:#666;font-size:13px;font-weight:300;}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:13px}
a {color:#444;text-decoration:none}

*, :after, :before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

input[type=text],input[type=password], textarea {}

input[type=text]:focus,input[type=password]:focus, textarea:focus,select:focus {}

input, textarea, button {-webkit-appearance:none; -moz-appearance:none; appearance:none;}
input, textarea, button, select {-webkit-border-radius:0; -moz-border-radius:0; -o-border-radius:0; border-radius:0;}

.placeholdersjs {color:#aaa !important}


input::placeholder {color:#aaa;}
input::-webkit-input-placeholder {color:#aaa;}
input::-ms-input-placeholder {color:#aaa;}
textarea::placeholder {color:#aaa;}
textarea::-webkit-input-placeholder {color:#aaa;}
textarea::-ms-input-placeholder {color:#aaa;}