모바일웹 개발 시 자주 사용되는 CSS
@charset "utf-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
outline: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
height: 100%;
overflow-x: hidden;
}
body {
font-family: HelveticaNeue, AppleSDGothicNeo-Regular, '나눔고딕', NanumGothic, '맑은 고딕', 'Malgun Gothic', '돋움', Dotum, '굴림', Gulim, Helvetica, sans-serif;
-webkit-text-size-adjust: none;
min-width: 320px;
min-height: 100%;
background-color: #eaeaea;
overflow-x: hidden;
font-size: 65.5%;
}
ol, ul, li {
list-style: none;
border: 0;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
width: auto;
border-collapse: collapse;
border-spacing: 0;
}
caption {
display: none;
}
legend {
display: none;
}
button {
cursor: pointer;
outline: none;
}
input {
border: 1px solid #dfdfdf;
}
textarea {
border: 1px solid #dfdfdf;
}
select {
border: 1px solid #dfdfdf;
}
strong, b {
font-weight: bold;
}
img {
max-width: 100%;
}
img, input, select, textarea {
vertical-align: middle;
outline: none;
}
a {
text-decoration: none;
}