博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css常用样式
阅读量:7166 次
发布时间:2019-06-29

本文共 1121 字,大约阅读时间需要 3 分钟。

@charset “utf-8”;

body的设置

body {

margin: 0;
padding: 0;
background-color: #EBEBEB;

}

ul li的设置

ul , li {

list-style-type: none;
margin:0;
padding :0;
}

padding不让div挤出

padding-left: 15px;padding-right: 15px;box-sizing:border-box;-moz-box-sizing:border-box; /* Firefox */-webkit-box-sizing:border-box; /* Safari */

导航头

      
编辑详情
<
编辑详情
@charset "utf-8";/*编辑详情css*/body { margin: 0; padding: 0; background-color: #EBEBEB; font-family: "黑体"; padding-bottom: 40px;}.top_msg { display: block; width: 100%; height: 46px; background-color: #1183F0;}.black { position: absolute; font-size: 2em; height: 46px; line-height: 46px; color: #fff; left: 15px;}.app_title { text-align: center; color: #fff; height: 46px; width: 100%; line-height: 46px; font-size: 1.3em;}

导航头样式图

after 做分割线

.bot_info::after {

background-color: #EBEBEB;
bottom: 0;
content: “”;
display: block;
left: 100%;
position: absolute;
top: 0;
width: 2px;

}

.bot_info 设置 postion:relative

你可能感兴趣的文章
java多线程导入excel(poi)
查看>>
UML类间关系
查看>>
Python自学笔记-sorted()函数(来自廖雪峰的官网Python3)
查看>>
如何从零安装Mysql
查看>>
设计模式:命令模式
查看>>
react文档demo实现输入展示搜索结果列表
查看>>
货代英语--------澳大利亚包装声明
查看>>
UINavigationController和UIBarButtonItem的例子
查看>>
有关UnrealEngine材质编辑器中的Custom节点的一些小贴士
查看>>
flask 的管理模块的功能add_template_global、send_from_directory
查看>>
NOIP 2018 普及组 解题报告
查看>>
Collection相关内容总结
查看>>
将json返回的日期格式转换
查看>>
JAVA学习之路 不走弯路,就是捷径
查看>>
ZSTU OJ 3999 零基础学算法---邻接表
查看>>
Android JS打开原生应用
查看>>
Java数组操作的10大方法
查看>>
重构实例1:消除冗余代码
查看>>
防御式编程
查看>>
Java课堂笔记第九次428
查看>>