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端

  • 相关阅读:
    如何使用 systemctl 管理服务
    Linux 下 SVN 的安装和配置
    C语言程序设计
    mysql 常用关键字操作(字符串转数字,字符串截取)
    Spring入门学习---05
    Spring入门学习---03
    使用 TiUP 部署 TiDB 集群
    docker安装kafka+kafka-manager集群
    发发牢骚
    php修改JPG格式图片的dpi
  • 原文地址:https://www.cnblogs.com/gxywb/p/11909974.html
Copyright © 2011-2022 走看看