【Css/Html】网页Css默认设计样式载入模板代码body.css
2023-09-11 14:15:11 时间
网页Css默认设计样式载入模板代码body.css(笔记用)
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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
img {
/* 底部留白 */
display: block;
}
input,
button {
/* 去除轮廓线 */
outline: none;
border: none;
}
input {
/* 去掉表单的默认内边距 */
padding: 0;
}
.clearFix::after {
content: "";
display: block;
clear: both;
}
/* html{overflow-x:hidden;} */
ul,
li {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
white-space: nowrap;
}
div{
/* CSS3盒子模型; */
box-sizing:border-box;
-webkit-box-sizing: border-box;
}
/* 禁用长按页面时的弹出菜单 */
img,a{-webkit-touch-callout:none}
/* 定义正常链接的样式; */
a:link {
color: rgb(39, 39, 38);
text-decoration: none;
}
/* 定义已访问过链接的样式; */
a:visited {
color: rgb(39, 39, 38);
text-decoration: none;
}
相关文章
- PHP实现微信网页登陆授权开发
- 网页制作,网站制作中put和get的区别
- 第三百五十节,Python分布式爬虫打造搜索引擎Scrapy精讲—selenium模块是一个python操作浏览器软件的一个模块,可以实现js动态网页请求
- EasyNVR网页摄像机无插件H5、谷歌Chrome直播方案之使用ffmpeg保存快照数据方法与代码
- EasyNVR网页Chrome无插件播放摄像机视频功能二次开发之云台控制接口示例代码
- EasyNVR摄像机网页无插件直播使用过程中问题的自我排查-设备不在线问题的自我排查
- EasyNVR无插件播放HLS/RTMP网页直播方案前端完善:监听表单变动
- 将海康大华等网络摄像机RTSP流进行网页Flash rtmp和H5 hls直播的技术方案
- 工具:docs网页笔记,gitbook,离线网网页
- 如何在HTTPS 网页中引入HTTP资源: Mixed Content?
- go gin LoadHTMLGlob加载html网页模板
- jsp文件的请求是如何被服务器的JSP容器转换成静态网页的
- webbrowser载入地图网页出现脚本错误解决
- 网页嵌入搜索引擎
- 手机网页调用相机拍照或者图库