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

有了网站后台后怎么做seo优化内部网站 建设方案

有了网站后台后怎么做seo优化,内部网站 建设方案,外贸网络营销外包,ih5 wordpressleopard/ˈlepərd/ 豹子,豹纹 弹出层指的是鼠标悬停于某个元素之上时显示的一个界面组件。 关注和理解特性:z-index属性和动态生成HTML元素。 HTML5新增: figure:媒体内容(图像,音频,视频),用于包含一…

leopard/ˈlepərd/ 豹子,豹纹

弹出层指的是鼠标悬停于某个元素之上时显示的一个界面组件。

关注和理解特性:z-index属性和动态生成HTML元素。

HTML5新增:

figure:媒体内容(图像,音频,视频),用于包含一组相关元素。

figcaption:为figure提供说明性文本,在figure中只能有一个,并且在第一个或者最后一个位置。

并排显示:某度上的图片

 代码:6.3.弹出层.html

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title></title><style>figure {width: 144px;height: 153px;margin: 20px 20px;border: 1px solid #666;position: relative;float: left;}img {width: 144px;height: 153px;display: block;}</style>
</head><body><figure><img src="img/pink.jpg" alt="pink heels" /><figcaption><h3>Pink Platforms</h3><a href="#">More info</a></figcaption></figure><figure class="click_me"><img src="img/baowen.jpg" alt="baowen heels" /><figcaption><h3>Leopard Platforms</h3><a href="#">More info</a></figcaption></figure><figure class="click_me"><img src="img/red.jpg" alt="red heels" /><figcaption><h3>Red Platforms</h3><a href="#">More info</a></figcaption></figure>
</body></html>

6.3.1 堆叠上下文z-index

隐藏弹出层,悬停显示弹出层

增加CSS:

figcaption {display: none;/* 隐藏弹出层 */position: absolute;/* 相对于容器 */left: 74%;/* 放到右边 */top: 15px;width: 130px;/* 弹出层宽度 */padding: 10px;/* 弹出层内边距 */background-color: #f2eaea;border: 3px solid red;border-radius: 6px;}/* 鼠标悬停在图片上显示 */figure:hover figcaption {display: block;}figcaption h3 {/*弹出层的内容*/font-size: 14px;color: #666;margin-bottom: 6px;}figcaption a {/*弹出层的内容*/display: block;text-decoration: none;font-size: 12px;color: #000;}/* 把弹出层设置为最高层 */figure:hover figcaption {display: block;z-index: 2;}

6.3.2 用CSS创造三角形

用div来创建,角上是平分的,所以要是内部宽高为0,其他边透明,正好是三角形。

代码:

div {border: 12px solid;width: 0;height: 0;border-color: transparent red transparent transparent;
}

与伪元素after结合起来,在6.3.弹出层.html中增加CSS:

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title></title><style>figure {width: 144px;height: 153px;margin: 20px 20px;border: 1px solid #666;position: relative;float: left;}img {width: 144px;height: 153px;display: block;}figcaption {display: none;/* 隐藏弹出层 */position: absolute;/* 相对于容器 */left: 74%;/* 放到右边 */top: 15px;width: 130px;/* 弹出层宽度 */padding: 10px;/* 弹出层内边距 */background-color: #f2eaea;border: 3px solid red;border-radius: 6px;}/* 鼠标悬停在图片上显示 */figure:hover figcaption {display: block;}figcaption h3 {/*弹出层的内容*/font-size: 14px;color: #666;margin-bottom: 6px;}figcaption a {/*弹出层的内容*/display: block;text-decoration: none;font-size: 12px;color: #000;}/* 把弹出层设置为最高层 */figure:hover figcaption {display: block;z-index: 2;}/* 红色三角形盒子 */figcaption::after {content: "";position: absolute;border: 12px solid;border-color: transparent red transparent transparent;height: 0px;width: 0px;top: 17px;right: 100%;}</style>
</head><body><figure><img src="img/pink.jpg" alt="pink heels" /><figcaption><h3>Pink Platforms</h3><a href="#">More info</a></figcaption></figure><figure class="click_me"><img src="img/baowen.jpg" alt="baowen heels" /><figcaption><h3>Leopard Platforms</h3><a href="#">More info</a></figcaption></figure><figure class="click_me"><img src="img/red.jpg" alt="red heels" /><figcaption><h3>Red Platforms</h3><a href="#">More info</a></figcaption></figure>
</body></html>
http://www.yayakq.cn/news/360349/

相关文章:

  • 万户网站管理系统4.0设置WordPress文章图片
  • 岳阳网站建设联系方式怎么用照片制作小视频
  • 呼和浩特网站建设费用名字设计签名免费
  • saas 做网站钛钢饰品网站建设
  • 有没有学做ppt发网站或论坛小程序源码多少钱
  • 毕业设计指导网站建设做网站销售的技巧
  • 建立网站要钱吗.tech域名的网站
  • 西安网站公司排名男女做爰高清免费网站
  • 厦门企业网站建设公司温州建校特种作业人员查询
  • 怎么做seo关键词优化优化百度百科
  • 网站建设公司郴州镇江市网站开发公司
  • 互助盘网站开发wordpress 主题 demo
  • 电子商务网站用户行为分析及服务推荐网站后台更新没有变化
  • 网站开发框架 简单做卡盟开端网站要多少钱
  • 电商网站的宣传推广制造业外贸营销网站建设
  • 网站首页标题自建网站需要哪些技术
  • 电子商务网站加密网站建设合同.doc
  • 好的建网站的书籍模板建站是什么
  • 网站seo诊断工具互联网是做什么工作的
  • 自己做软件 做网站需要学会哪些teahouse wordpress主题
  • 创世网络网站建设怎么样网站 制作价格
  • 铜煤建设网站手机上怎么审营业执照
  • 河北省网络科技网站chrome打开建设银行网站 个人网上银行怎么不能查询明细
  • 做一个网站做少钱网站模板插件
  • 自己建网站怎么赚钱网站建设 报价单
  • 中山网站建设方案报价网站多ip 建设
  • 做试管婴儿的网站做网站可以提些什么意见
  • 做平面设计兼职的网站有哪些网站建设的成本
  • 做网站怎么排版好看聊天软件是怎么开发的
  • 佛山中英文网站制作网站建设 客户同程