• ck-reset css(2016/5/13)


    /**rest by 2016/05/04 */
    * {box-sizing: border-box;}
    *:before,*:after {box-sizing: border-box;}
    body {margin: 0;}
    body {font-size: 14px; line-height: 1.42857143; color: #333;}
    html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
    
    body{background:#fff;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif,Segoe UI,"Microsoft Yahei" ;}
    html a{outline:none;blr:expression(this.onFocus=this.blur());}
    html {padding:0;margin:0;font-size:12px;color:#333}
    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,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    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}
    table {border-collapse: collapse;border-spacing: 0}
    caption,th{text-align:left}
    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%;outline:none}
    legend{color:#000}
    a{text-decoration:none;cursor:pointer; color: #333;}
    a:link{text-decoration:none;cursor:pointer;}
    a:hover{text-decoration:none;}
    a:focus {outline:none;-moz-outline:none;}
    p{word-break:break-all;word-wrap:break-word }
    
    h1,h2,h3,h4,h5,h6 {font-weight: 500;color: #000}
    h1{font-size: 24px}
    h2{font-size: 16px}
    h3,h4,h5,h6 { font-size: 14px}
    .k-hide {display: none!important}
    
    /*===================公用样式=====================*/
    .text-left {text-align: left;}
    .text-right { text-align: right;}
    .text-center { text-align: center;}
    /*两端对齐*/
    .text-justify {text-align: justify;}
    .fl{float:left}
    .fr{float:right}
    /*line-height*/
    .lh24{line-height:24px}
    .lh36{line-height:36px}
    /*color*/
    .c-fff{color:#fff;}
    .c-blue{color:#0066cc}
    .c-red{color:#f3013a}
    .c-orange{color:#ff9900}
    .c-green{color:#009900}
    /*font*/
    .font12{font-size:12px}.font14{font-size:14px}.font16{font-size:16px}.font18{font-size:18px}.font24{font-size:24px}.font36{font-size:36px}
    /*margin*/
    .mt03{margin-top:3px}.mt05{margin-top:5px}.mt10{margin-top:10px}.mt15{margin-top:15px}.mt20{margin-top:20px}.mt25{margin-top:25px}.mt30{margin-top:30px}
    .ml03{margin-left:3px}.ml05{margin-left:5px}.ml10{margin-left:10px}.ml15{margin-left:15px}.ml20{margin-left:20px}.ml25{margin-left:25px}.ml30{margin-left:30px}
    .mr03{margin-right:3px}.mr05{margin-right:5px}.mr10{margin-right:10px}.mr15{margin-right:15px}.mr20{margin-right:20px}.mr25{margin-right:25px}.mr30{margin-right:30px}
    .mb03{margin-bottom:3px}.mb05{margin-bottom:5px}.mb10{margin-bottom:10px}.mb15{margin-bottom:15px}.mb20{margin-bottom:20px}.mb25{margin-bottom:25px}.mrb0{margin-bottom:30px}
    .pd-t10{padding-top:10px;}.pd-t20{padding-top:20px;}
    /*居中*/
    .k-container{width: 1200px; margin-left: auto;margin-right: auto;zoom: 1;}
    .k-container:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
    /*清浮动*/
    .clearfix:after {font-size: 0;content: " ";display:block; height:0; clear:both;}
    .clearfix {*zoom:1;}
    
     
  • 相关阅读:
    Python实现网络多人聊天室
    C实现string字符串
    C getchar()
    C++ 数组遍历的两种方式
    Java 发红包
    Java递归实现阶乘
    Go defer语句
    bash shell——sum
    C——letterCounter
    数据结构——链队列(linked queue)
  • 原文地址:https://www.cnblogs.com/qshting/p/5489458.html
Copyright © 2020-2023  润新知