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

学院实验室建设网站的好处网站建设环保

学院实验室建设网站的好处,网站建设环保,wordpress系统是什么意思,基于vue.js旅游网站开发效果图 学会淘宝商城的分类导航以后,会发现大多数的电商网站都是这样的效果,在做其他网站时具体分析即可。 首先我们要构思整个大框架的结构:左边是全部商品分类,在这个分类中主要是用了导航列表(ul li), 然后在每一个li里面都包含一个默认不显示的的大div(利用了绝对定位…

效果图

学会淘宝商城的分类导航以后,会发现大多数的电商网站都是这样的效果,在做其他网站时具体分析即可。

首先我们要构思整个大框架的结构:左边是全部商品分类,在这个分类中主要是用了导航列表(ul li), 然后在每一个li里面都包含一个默认不显示的的大div(利用了绝对定位,把这个div分成左边小分类列表,右边图片广告) 

这个分类导航其实比较简单,在我看来要重点理解相对定位,绝对定位,盒子模型,包括margin和padding的含义,以及对a标签的熟练使用。有一个小知识点就是显示与隐藏display:block;display:none;

但在具体做的时候就有很多细节需要注意,比如每个大分类后都有一个箭头,每一类都有一个斜杠,中间显示框有一个橙色的边框,以及中间字体颜色不一致,图片的大小等等,这些做起来还是很简单的,细心一点就好。

我使用的是内嵌样式,下面就是具体的代码实现(我只附了女装男装内衣的二级分类)

<!DOCTYPE html>
<html>
<head lang="en"><meta charset="UTF-8"><title>淘!你喜欢!</title><style>* {margin: 0;padding: 0;}.centerblock {position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;width: 1000px;height: 500px;border: 1px solid silver;}.centerblock_left {width: 199px;height: 500px;border-right: 1px solid orange;/*background-color: #36c3ff;*/float: left;}.centerblock_right {float: left;width: 800px;height: 500px;/*background-color:red;*/}.listmenu {/*border: 1px solid silver;*//*left: 20px;*/}.listmenu li {list-style: none;padding-left: 20px;height: 31.2px;line-height: 31.2px;font-size: 15px;}.listmenu li span {float: right;margin-right: 10px;}.listmenu li>a {text-decoration: none;color: #3a3a3a;}.listmenu li:hover {background-color: #ffd4cd;color: orange;}.listmenu li:hover > a {color: orange;}.listmenu > li > a:hover {text-decoration: underline;}.listmenu_child {position: absolute;left: 200px;/*margin-left: 180px;*/top: 0;background-color: white;border: 2px solid #ff951d;width: 800px;height: 500px;display: none;}.listmenu>li:hover .listmenu_child {display: block;}.listmenu_child_left {position: relative;float: left;padding-left: 20px;width: 530px;height: 500px;/*background-color: #36c3ff;*/}.listmenu_child_right {position: relative;float: left;width: 249px;height: 500px;border-left: 1px solid silver;/*background-color: #ffe706;*/}.listmenu_child_left_top_title {position: relative;width: 530px;height: 35px;/*background-color: #36c3ff;*/line-height: 35px;margin-top: 5px;color: black;}.span1 {position: absolute;bottom: 0;float: left;font-size: 18px;left: 0px;color: black;}.span2 {position: absolute;bottom: 0;float: right;font-size: 13px;right: 8px;color: black;}.listmenu_child_left_a {margin-right: 25px;/*background-color: #ffe706;*/line-height: 25px;}.listmenu_child_left_a > a {text-decoration: none;font-size: 14px;margin-right: 20px;}.colororg{color:orangered;}.colorgray{color:gray;}.listmenu_child_right_title {position: relative;text-align: center;font-size: 14px;color: black;top: 10px;}.imglist {position: relative;
http://www.yayakq.cn/news/136847/

相关文章:

  • 免费咨询服务合同范本小江seo
  • 接网站开发做多少钱做网站的图哪来
  • 哈尔滨口碑好的网站建设21cn企业邮箱登录入口
  • php mysql网站开发想要标注倾斜直线的实际长度
  • 网站做系统叫什么软件吗网络服务商是啥
  • 设计网站国外上海正规做网站公司报价
  • 东圃做网站北京推出“北京中轴线”
  • .vip域名的网站排名开发软件怎么申请版权
  • SEO参与网站建设注意wordpress中文cms主题
  • 自己做网站最新视频教程什么网站做一手房比较好
  • 网站提取规则怎么设置钢格板保定网站建设
  • 电商网站开发的功能专业定制网架
  • 站长百度移动网站设计教程
  • 网站备案要买备案号做网站交互效果用什么软件
  • 建设网站方案 ppt电子商务网站建设设计题
  • 商标设计网站有哪些门业东莞网站建设技术支持
  • 布吉建网站工程中标公示查询
  • 怎样做展会推广网站wordpress 柚子皮5.61
  • 泉州做网站排名做网站图片要求
  • 做网站赚钱多吗哈尔滨微网站建设
  • 网站建设的原因免费设计图网站
  • 端网站建设佛山企业网站搭建公司
  • 海珠建网站多少钱上海seo推广服务
  • 做网站找个人还是找公司好门户系统登录
  • 佛山网站建设冯哥WordPress导出单页
  • 东莞网站到首页排名wordpress文章中图片并排
  • 潍坊网站定制公司网站建设可行分析性报告
  • 平江网站设计多少钱怎么搜索别人的wordpress模板
  • 网站标题 关键词 描述之间的关系广州网站建设公司兴田德润可以不
  • 纪检监察工作 网站建设企业网站推广按成交收费