本文主要是介绍WapApp初始化样式表,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
@charset "utf-8";/* 样式初始化
--------------------------------------------------*/
body {margin: 0;padding: 0;background-color: #f6f6f6;font: normal 67.5% Helvetica, Arial, sans-serif;min-width: 240px;
}* {padding: 0;margin: 0;border: 0;text-align: left;font-style: normal;font-weight: normal;-webkit-tap-highlight-color: rgba(0,0,0,0); /*禁止链接高亮*/-webkit-touch-callout: none; /*禁止链接长按弹出选项菜单*/color:#333333;
}ul li{margin: 0;padding: 0;list-style: none;
}img {border-top-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-left-width: 0px;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;max-width: 100%;
}nav, footer, section, header, article {display: block;
}
ul {list-style: none;
}
a:link {-webkit-tap-highlight-color: rgba(0,0,0,0); /*禁止链接高亮*/-webkit-touch-callout: none; /*禁止链接长按弹出选项菜单*/
}
a:link, a:visited, a:hover, a:active {color: #333333;text-decoration: none;
}form{margin:0px; padding:0px;
}
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="css/base.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<link rel="stylesheet" href="css/index.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
这篇关于WapApp初始化样式表的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!