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端

  • 相关阅读:
    浅析区间问题
    关于参加信息竞赛
    路爷爷语录
    CentOS-7安装python虚拟环境
    开发笔记(不定时更新)
    Redis有序集合的权重值选择
    数据缓存(Redis)流程设计--思路
    Flask框架之配置日志信息
    Flask框架之一对多关系模型定义
    Flask框架之多对多关系模型类的定义
  • 原文地址:https://www.cnblogs.com/gxywb/p/11909974.html
Copyright © 2011-2022 走看看