zoukankan      html  css  js  c++  java
  • 公共样式base.css

    /*公共样式*/
    /*css初始化*/
    html,body,ul,li,ol,ul,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset{
    	margin: 0;
    	padding: 0;
    }
    /*fieldset组合表单中的相关元素*/
    fieldset,img,input,button{
    	border: none;
    	padding: 0;
    	margin: 0;
    	outline-style: none;
    }
    /*清除列表风格*/
    ul,ol{
    	list-style: none;
    }
    input{
    	padding-top: 0;
    	padding-bottom: 0;
    	font-family: "simsun","宋体";
    }
    select,input{
    	vertical-align: middle;
    }
    select,input,textarea{
    	font-size: 12px;
    	margin: 0;
    }
    /*防止多行文本拖拽*/
    textarea{
    	resize: none;
    }
    /*去掉图片底侧默认的3像素空白空隙*/
    img{
    	border: 0;
    	vertical-align: middle;
    }
    /*合并外边线*/
    table{
    	border-collapse: collapse;
    }
    body{
    	font: 12px/150% arial,verdana,"5b8b4f53";
    	color: #666;
    	background: #fff;
    }
    .clearfix:before,.clearfix:after{
    	content: "";
    	display: table;
    }
    .clearfix:after{
    	clear: both;
    }
    .clearfix{
    	*zoom: 1;
    }
    a{
    	color: #666;
    	text-decoration: none;
    }
    a:hover{
    	color: #c81623;
    }
    h1,h2,h3,h4,h5,h6{
    	text-decoration: none;
    	font-weight: normal;
    	font-size: 100%;
    }
    s,i,em{
    	font-style: normal;
    	text-decoration: none;
    }
    .col-red{
    	color: #c81623 !important;
    }
    /*公共类*/
    .w{
    	 1210px;
    	margin: 0 auto;
    }
    .fl{
    	float: left;
    }
    .fr{
    	float: right;
    }
    .al{
    	text-align: left;
    }
    .ac{
    	text-align: center;
    }
    .ar{
    	text-align: right;
    }
    .hide{
    	display: none;
    }
    

     公共样式pc端

  • 相关阅读:
    javascript的自定义对象
    解决trim兼容性
    AJAX
    javascript中的默认对象
    js原始数据类型
    javascript的内置对象
    空判断啊
    javascript的继承
    html如何设置P的高度为零?
    asp.net 生成静态页 自动分页
  • 原文地址:https://www.cnblogs.com/gxywb/p/11909974.html
Copyright © 2011-2022 走看看