common

  • Post author:
  • Post category:其他


基于响应式的初始化html文件(设计稿为320,1rem等于20px)

<!DOCTYPE html>
<html>
  <head>
  <meta  charset="utf-8">
    <title>element</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
    <style type="text/css">
    	html,body,div,ul,li,ol,p,a,button,span{margin: 0px;padding: 0px;position: relative;}
			em{font-style: normal;}
			ul{list-style: none;}
			button,input,img{border: none;outline: none;}
			li{float: left;}
			a{text-decoration: none;color: #333333;}
			span,i{display: inline-block;}
			span,strong,p,a{font-size: 0.7rem; color: #333333;}
			a:hover{cursor: pointer; text-decoration: underline; color: red;}
       /*public*/
      	.line_top{border-top: 0.1rem solid #f5f5f5;border-top-style: dashed;}
        .line_bottom{border-bottom: 0.1rem solid #f5f5f5;border-bottom-s



版权声明:本文为Revival_Liang原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。