Prindol

DESIGN, HTML5, CSS3, DOM, Jquery, JSON, Actionscript2/3, Linux, IIS

You are not logged in.

#1 2011-09-29 11:27:12

skydown
Administrator
Registered: 2011-07-25
Posts: 315

[CSS] CSS Reset

Yahoo

/*
YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}

Offline

#2 2011-11-12 23:48:30

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

/* common */
body{margin:0;padding:0;font-size:12px;font-family:"돋움", dotum, AppleGothic, Sans-serif;line-height:14px}
div, p, dl, dt, dd, input{margin:0;padding:0}
h1, h2, h3, h4{margin:0;padding:0}
ul, ol, li{margin:0;padding:0;list-style:none}
a{text-decoration:none}
a:hover{text-decoration:underline}
em{font-style:normal}
img{vertical-align:top}
img, fieldset{border:0}
select{margin:0;padding:0;font-size:11px;font-family:"돋움", dotum, AppleGothic, Sans-serif;color:#707070}
.blind{overflow:hidden;position:absolute;width:0;height:0;visibility:hidden}

Offline

#3 2012-01-17 15:03:48

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

http://www.ollehmusic.com/

/* base */
html {width:auto; height:100%; overflow-y:scroll}
body {color:#444; font-size:12px; line-height:18px; font-family:dotum, '돋움', gulim, 'gulim'; width:auto; height:100%}
a, a:link, a:visited {color:#444; text-decoration:none}
a:hover {text-decoration:underline}
html, body, div, p, ul, ol, li, form, table, dl, h1, h2, h3, h4, h5, h6 {margin:0; padding:0}
table {border-collapse:collapse}
td {color:#444; font-family:dotum, '돋움', gulim, '굴림'}
ol, ul {list-style:none}
img {border:0}
.thumb {border:0}
.IEscroll     {
    scrollbar-face-color: #ffffff;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #ffffff;
    scrollbar-3dlight-color: #cbcbcb;
    scrollbar-darkshadow-color: #cbcbcb;
    scrollbar-track-color: #fff;
    scrollbar-arrow-color: #a9a9a9;
}

/*  */
#contentBody_ev {margin:0 auto}

/* input */
textarea, input {color:#444; letter-spacing:0}
input.inpcheck, input.inpradio {width:13px; height:13px}
input.inptext {border:1px solid #ccc; padding:2px 5px; font-size:12px; line-height:18px;}

Offline

#4 2012-02-10 15:17:09

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

mobile css

/* Reset */
html,body{overflow-x:hidden;}
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea,button,select{margin:0;padding:0;}
body{position:relative;background-color:#ffffff;-webkit-text-size-adjust:none;min-width:320px; /*_width:320px; *white-space:nowrap;*/}
section,nav,article,aside,hgroup,header,footer{display:block;}
body,input,textarea,select,button,table{color:#000;font-family:'나눔고딕',NanumGothic,'맑은 고딕','Malgun Gothic','돋움',Dotum,'굴림',Gulim,Helvetica,AppleGothic,sans-serif;font-size:14px;line-height:1.25em;letter-spacing:-1px;}
img,fieldset{border:0 none;}
img{vertical-align:top;}
ul,ol,li{list-style:none;}
address,em{font-style:normal;}
h1,h2,h3,h4,h5{font-size:14px;font-weight:normal;}
hr{display:none;}
a{color:#000;text-decoration:none;}
a span,button {cursor:pointer}

Offline

#5 2012-02-16 15:54:21

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

body,div,ul,li,dl,dt,dd,ol,p,h1,h2,h3,h4,h5,h6,form {margin:0;padding:0}
body {font:normal dotum,'돋움'; font-size:12px; color:#747474;}
ul,ol,dl {list-style:none;}
img {border:0; vertical-align:top;}
ul {list-style:none; padding:0; margin:0;}

a:link,
a:visited,
a:hover,
a:active { color:#666; text-decoration:none; }

Offline

#6 2012-02-16 16:20:21

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

/* ie8 버튼 버그 */
button:active {-ms-background-position-x:1px; -ms-background-position-y:1px;}

Offline

#7 2019-03-19 10:59:51

skydown
Administrator
Registered: 2011-07-25
Posts: 315

Re: [CSS] CSS Reset

[CAREER reset_2015.css]

/* RESET */
body, div, p, pre, dl, dt, dd, input, form, fieldset, legend, h1, h2, h3, h4, h5, h6, ul, ol, li{margin:0;padding:0;}
body{font-size:12px;line-height:1.25;font-family:"Malgun Gothic","맑은 고딕",tahoma,sans-serif;letter-spacing:-0.075em;}
ul, li, ol{list-style: outside none none;}
a, a:active, a:hover, a:visited{color:inherit;text-decoration:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}/* ff style bug */
em,address{font-style:normal;}
img, fieldset{border:0;}
hr{display:none;}
article,aside,dialog,header,section,footer,nav,figure{display:block;margin:0;padding:0;} /* html5 */
table{padding:0;margin:0;border-spacing:0;border:0;border-collapse:collapse;}
caption, legend, .blind{position:absolute;top:-9999em;height:0;overflow:hidden;visibility:hidden;}

Offline

Board footer

Powered by FluxBB