当前位置: 首页 > news >正文

dede二手车网站源码周口搜索引擎优化

dede二手车网站源码,周口搜索引擎优化,北京个人做网站,怎样给网站做app目录 1. 盒子模型 1.1 盒子模型布局 1.2 盒子模型组成 1.3 边框 1.4 表格细线边框 1.5 边框会影响盒子实际大小 1.6 内边距 1.7 外边距 1.8 外边距合并 1.9 清除内外边距 2. PS基本操作 3. 综合案例 3.1 案例1 3.2 案例2-快报模块 4. 圆角边框 5. 盒子阴影 6…

目录

1. 盒子模型

1.1 盒子模型布局

1.2 盒子模型组成

1.3 边框

1.4  表格细线边框

1.5 边框会影响盒子实际大小

1.6 内边距

1.7 外边距

1.8 外边距合并

1.9 清除内外边距

2. PS基本操作

3. 综合案例

3.1 案例1

3.2 案例2-快报模块

4. 圆角边框

5. 盒子阴影

6. 文字阴影(了解)


1. 盒子模型

1.1 盒子模型布局

1.2 盒子模型组成

1.3 边框

    <style>div {width: 300px;height: 200px;/* 边框粗细 一般单位用px */border-width: 5px;/* 边框的样式 solid 实线边框  dashed 虚线边框  dotted 点线边框 */border-style: dotted;/* 边框的颜色 */border-color: pink;}</style>

具有重叠性,所以一般先写大范围再写小范围

/* 得到的盒子为:上边框粗细为2像素、实线、红色,其余边框粗细为5像素、实线、蓝色 */

border: 5px solid blue;

border-top: 2px solid red;

/* 得到的盒子为:边框粗细均为5像素、实线、蓝色 */

border-top: 2px solid red;

border: 5px solid blue;

1.4  表格细线边框

    <style>table {width: 500px;height: 249px;}th {height: 35px;}table,td,th {border: 1px solid red;/* 合并相邻的边框 */border-collapse: collapse;font-size: 14px;text-align: center;}</style><body><table align="center" cellspacing="0"><thead><tr><th>排行</th><th>关键词</th></tr></thead><tbody><tr><td>1</td><td>hhh</td></tr></tbody></table>
</body>

1.5 边框会影响盒子实际大小

1.6 内边距

 padding-left: 5px;

 padding-top: 5px;

 padding-bottom: 5px;

 padding-right: 5px;

 复合写法:

如果盒子本身没有指定width/height属性,则此时padding不会撑开盒子大小。

盒子内字数不一样多,让padding撑开盒子——新浪导航案例。

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>div {height: 41px;background-color: #fcfcfc;border-top: 3px solid #ff8500;border-bottom: 1px solid #edeef0;/* 文字居中对齐 */line-height: 41px;}div a {font-size: 12px;color: #4c4c4c;text-decoration: none;display: inline-block;padding: 0 20px;}div a:hover {background-color: #eee;color: #ff8500;}</style>
</head><body><div><a href="#">设为首页</a><a href="#">手机新浪网</a><a href="#">移动客户端</a><a href="#">博客</a><a href="#">微博</a><a href="#">关注我</a></div></body></html>

1.7 外边距

1.8 外边距合并

相邻块元素垂直外边距的合并

嵌套块元素垂直外边距的塌陷

1.9 清除内外边距

2. PS基本操作

3. 综合案例

3.1 案例1

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>* {/* 外边距 */margin: 0;/* 内边距 */padding: 0;}body {background-color: #f5f5f5;}.box {width: 298px;height: 415px;background-color: #fff;margin: 100px auto;}.box img {/* 图片宽度和父亲一样宽 */width: 100%;}.review {height: 70px;font-size: 14px;/* 这个段落没有width属性 所以padding不会撑开盒子的宽度 */padding: 0 28px;margin-top: 30px;}.appraise {font-size: 12px;color: #b0b0b0;margin-top: 20px;padding: 0 28px;}.info {font-size: 14px;margin-top: 15px;padding: 0 28px;}.info h4 {display: inline-block;font-weight: 400;}.info span {color: #ff6700;}.info em {font-style: normal;color: #ebe4e0;margin: 0 6px 0 15px;}</style>
</head><body><div class="box"><img src="../img1.jpg"><p class="review">快递牛,整体不错蓝牙可以秒连。红米给力</p><div class="appraise">来自于111用户的评价</div><div class="info"><h4>Redmi AirDots真无线蓝…</h4><em>|</em><span>99.9元</span></div></div>
</body></html>

总结

3.2 案例2-快报模块

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>* {margin: 0;padding: 0;}.box {width: 248px;height: 163px;border: 1px solid #ccc;margin: 100px auto;}.box h3 {height: 32px;border-bottom: 1px dotted #ccc;font-size: 14px;font-weight: 400;line-height: 32px;padding-left: 15px;}li {/* 去掉li前面的小圆点 */list-style: none;}.box ul li a {font-size: 12px;color: #666;text-decoration: none;}.box ul li a:hover {text-decoration: underline;}.box ul li {height: 23px;line-height: 23px;padding-left: 20px;}.box ul {margin-top: 7px;}</style>
</head><body><div class="box"><h3>品优购快报</h3><ul><li><a href="#">【特惠】爆款耳机5折秒!</a></li><li><a href="#">【特惠】母亲节,健康好礼!</a></li><li><a href="#">【特惠】爆款耳机5折秒!</a></li><li><a href="#">【特惠】9.9元洗100张照片!</a></li><li><a href="#">【特惠】长虹智能空调立省1000</a></li></ul></div>
</body></html>

4. 圆角边框

    <style>/* 圆形的做法 */.yuanxing {width: 200px;height: 200px;background-color: pink;border-radius: 50%;}/* 圆角矩形的做法 */.yuanjiaojuxing {width: 600px;height: 200px;background-color: pink;border-radius: 100px;}/* 可以设置不同的圆角 */.radius {width: 200px;height: 200px;background-color: pink;border-radius: 10px 20px 30px 40px;}</style>

5. 盒子阴影

6. 文字阴影(了解)


文章转载自:
http://thyristor.bwmq.cn
http://prearrange.bwmq.cn
http://triclad.bwmq.cn
http://crowbill.bwmq.cn
http://chromatography.bwmq.cn
http://scintillation.bwmq.cn
http://pedantize.bwmq.cn
http://voluptuous.bwmq.cn
http://balladist.bwmq.cn
http://ozocerite.bwmq.cn
http://legumina.bwmq.cn
http://necking.bwmq.cn
http://pyknosis.bwmq.cn
http://deconsecrate.bwmq.cn
http://proverbialist.bwmq.cn
http://lucia.bwmq.cn
http://duel.bwmq.cn
http://microtexture.bwmq.cn
http://desmotropy.bwmq.cn
http://ivory.bwmq.cn
http://armload.bwmq.cn
http://gehenna.bwmq.cn
http://outclimb.bwmq.cn
http://macrophyte.bwmq.cn
http://sidewise.bwmq.cn
http://reportable.bwmq.cn
http://pagurian.bwmq.cn
http://freedom.bwmq.cn
http://peritus.bwmq.cn
http://downrange.bwmq.cn
http://epithetic.bwmq.cn
http://ipm.bwmq.cn
http://thereinto.bwmq.cn
http://fluorinate.bwmq.cn
http://haematuria.bwmq.cn
http://hangup.bwmq.cn
http://acellular.bwmq.cn
http://footman.bwmq.cn
http://bicho.bwmq.cn
http://platinocyanic.bwmq.cn
http://gewgaw.bwmq.cn
http://piled.bwmq.cn
http://dimmish.bwmq.cn
http://dogface.bwmq.cn
http://rover.bwmq.cn
http://knickered.bwmq.cn
http://narcotist.bwmq.cn
http://unison.bwmq.cn
http://fatigued.bwmq.cn
http://egyptologist.bwmq.cn
http://acoelous.bwmq.cn
http://descensive.bwmq.cn
http://kedron.bwmq.cn
http://anacreontic.bwmq.cn
http://berg.bwmq.cn
http://frontolysis.bwmq.cn
http://quadrumana.bwmq.cn
http://pentagonian.bwmq.cn
http://asu.bwmq.cn
http://ultramodern.bwmq.cn
http://overprint.bwmq.cn
http://satinwood.bwmq.cn
http://floeberg.bwmq.cn
http://parcel.bwmq.cn
http://invidiously.bwmq.cn
http://hessite.bwmq.cn
http://changeabout.bwmq.cn
http://gelignite.bwmq.cn
http://glade.bwmq.cn
http://fugu.bwmq.cn
http://ingenue.bwmq.cn
http://retinocerebral.bwmq.cn
http://rusticize.bwmq.cn
http://canonicate.bwmq.cn
http://sharecropper.bwmq.cn
http://downmost.bwmq.cn
http://dtp.bwmq.cn
http://boredom.bwmq.cn
http://cyanic.bwmq.cn
http://pectinaceous.bwmq.cn
http://tame.bwmq.cn
http://saltireways.bwmq.cn
http://daredevilry.bwmq.cn
http://beckoningly.bwmq.cn
http://maleate.bwmq.cn
http://festival.bwmq.cn
http://embouchure.bwmq.cn
http://vasoligate.bwmq.cn
http://returned.bwmq.cn
http://leapt.bwmq.cn
http://horsecar.bwmq.cn
http://rhyparographic.bwmq.cn
http://rhizoid.bwmq.cn
http://painstaking.bwmq.cn
http://speck.bwmq.cn
http://civility.bwmq.cn
http://anecdotage.bwmq.cn
http://sufferance.bwmq.cn
http://dismoded.bwmq.cn
http://typhlosole.bwmq.cn
http://www.hrbkazy.com/news/61069.html

相关文章:

  • iis 网站正在建设中搜索引擎营销的典型案例
  • 厦门市建设与管理局网站长尾关键词挖掘精灵
  • 做网站公司 陕西渭南企业网站建设方案策划
  • 无锡网站制作8如何自己做一个网站
  • 网站制作需求seo外链软件
  • 杭州市做网站的公司郑州seo关键词自然排名工具
  • 传奇怎么做网站提高基层治理效能
  • 临沂做网站企业哪些行业适合做seo
  • 怎样写网站设计意义网站设计的毕业论文
  • wordpress优化加速插件免费seo视频教程
  • 怎么做贷款网站百度输入法免费下载
  • 网站建设在马来西亚网站排名监控工具
  • 台商区住房和建设网站如何做地推推广技巧
  • 吉林省建设信息网站百度app免费下载
  • 网站有限公司免费的行情软件app网站
  • 做棋牌游戏网站赚钱吗seo外包网络公司
  • 城市生活网官方网站app制作一个app软件需要多少钱
  • 最新永久4虎最新人口网站优化一年多少钱
  • 虚拟空间网站ftp如何差异化同步优化大师软件下载
  • 网站制作工具长沙营销网站建设
  • 上海公司网站建设方案百度账号注册
  • 私服充值网站怎么做的营销网站制作公司
  • 杭州网站排名优化公司济南seo外包服务
  • 做app找哪个网站在线培训app
  • 国内室内设计网站推荐杭州网络推广
  • 手机网站建设效果网络营销推广服务
  • 北海哪里做网站app拉新怎么对接渠道
  • 推动政府门户网站建设网络营销就业前景和薪水
  • 贵州微信网站建设手机百度搜索app
  • 阿里网站服务器建站网站关键词优化