zoukankan      html  css  js  c++  java
  • HTML5中常见的css应用base

    HTML5中常见的css应用


    BASEcss样式

    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    	border: 0;
    	font-family: inherit;
    	font-size: 100%;
    	font-style: inherit;
    	font-weight: inherit;
    	margin: 0;
    	outline: 0;
    	padding: 0;
    }
    html {
    	-webkit-text-size-adjust: 100%;
    	-ms-text-size-adjust: 100%;
    	height: 100%;
    }
    body {
    	font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, "Lantinghei SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
    	font-weight: normal;
    	font-style: normal;
    	font-size: 14px;
    	height: 100%;
    }
    input, select, option, button, textarea {
    	background: linear-gradient(to bottom, #fff, #fff);
    	-webkit-background: linear-gradient(to bottom, #fff, #fff);
    	-webkit-tap-highlight-color: transparent;
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    	-webkit-appearance: none;
    	outline: none;
    	font-family: "Avenir Next", Avenir, "Helvetica Neue", "Lantinghei SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
    	border-radius: 1px;
    }
    img {
    	border: none;
    }
    a {
    	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    	text-decoration: none;
    }
    ul li {
    	list-style-type: none;
    }
    
  • 相关阅读:
    jquery 菜单1
    Notepad++在vs2008下编译运行
    Linux readelf命令的使用
    Linux下truss、strace或ltrace的使用
    (转载)new和malloc的区别
    windows xp 设置回环网卡
    Linux下没有网线的情况下,从主机使用SSH登录虚拟机
    Linux ELF文件学习(1)
    C++子类继承父类
    (转载)wireshark抓包的时候有黄条、蓝条各代表什么意思?
  • 原文地址:https://www.cnblogs.com/xiuxiu123/p/5208916.html
Copyright © 2011-2022 走看看