会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
赐
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
2021年11月1日
音悦商城
摘要: 相对定位和绝对定位的区别: position: relative(相对定位):相对定位是相对于元素在文档中的初始位置 首先它出现在它所在的位置上(即不设置position时的位置,然后通过设置垂直或水平位置,让这个元素“相对于”它的原始起点进行移动 position: absolute(绝对定位):
阅读全文
posted @ 2021-11-01 19:04 牵着宇宙来遛弯
阅读(139)
评论(0)
推荐(0)
2021年10月29日
项目/头部与底部
摘要: 头部: html部分: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css/toubu.css"/> </head>
阅读全文
posted @ 2021-10-29 19:40 牵着宇宙来遛弯
阅读(55)
评论(0)
推荐(0)
2021年10月28日
项目1/详情页面
摘要: css部分: .content{ width: 1000px; margin: 0 auto;} .content .nav{ margin: 15px 0;} .content .nav a{ text-decoration: none;/*下划线*/ color: #333333; margin
阅读全文
posted @ 2021-10-28 19:57 牵着宇宙来遛弯
阅读(97)
评论(0)
推荐(0)
2021年10月27日
音乐商城项目/首页
摘要: CSS部分: body{ background-color: lightgrey;} .content{ width:1000px; margin: 0 auto;} .content ul{ padding-left: 0;} .content ul li{ display: inline-blo
阅读全文
posted @ 2021-10-27 19:01 牵着宇宙来遛弯
阅读(81)
评论(0)
推荐(0)
2021年10月26日
第二个页面/列表
摘要: CSS部分: .content{ background-color: #CCCCCC;} .content .type-container{ background-color: white; height: 160px;} .content .type{ border: 1px solid #ccc
阅读全文
posted @ 2021-10-26 17:18 牵着宇宙来遛弯
阅读(43)
评论(0)
推荐(0)
2021年10月25日
第一个项目/页面1
摘要: CSS部分: .content{ width:1000px; margin: 0 auto;} .content h1{ color: #de4767; text-align: center; font-size: 44px; font-weight: normal;} .content ul{ p
阅读全文
posted @ 2021-10-25 20:01 牵着宇宙来遛弯
阅读(56)
评论(0)
推荐(0)
上一页
1
2
3
4
公告