前端系列之实战(城市医院预约挂号平台1.框架搭建)
2018-02-02 09:44
302 查看
项目简介:
需求分析界面设计
首页模块分析介绍
HTML+CSS完成静态页面样式开发
完成项目框架的搭建
index.html
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <title>城市医院预约平台</title> <link rel="stylesheet" type="text/css" href="css/layout.css" /> </head> <body> <div id="top" class="top"> <div class="wrap">010-114</div> </div> <div id="header" class="header"> </div> <div id="nav" class="nav"> </div> <div id="banner" class="banner"> <div class="banner-slider"></div> <div class="banner-search"></div> <div class="banner-help"></div> </div> <div id="content" class="content"> <div class="wrap clearfix"> <div class="content-tab"></div> <div class="content-news"></div> <div class="content-close"></div> </div> </div> <div id="footer" class="footer"> </div> </body> </html>
layout.css
body { margin: 0; padding: 0; } .clearfix:after{ content: ' '; display: block; height: 0; line-height: 0; clear: both; zoom: 1; } .wrap { width: 1000px; margin: 0 auto; position: relative; } .top { height: 30px; background-color: #f5f5f5; } .header { height: 92px; } .nav { height: 36px; background-color: #60bff2; } .banner { width: 802px; margin: 0 auto; height: 414px; padding: 9px 0 0 198px; } .banner-slider { float: left; width: 544px; height: 414px; background-color: #8edff3; } .banner-search { float: right; width: 250px; height: 255px; background-color: #eee; } .banner-help { float: right; width: 250px; height: 146px; background-color: #ccc; margin-top: 12px; } .content { padding: 10px 0 38px 0; } .content-tab { float: left; width: 742px; height: 490px; background-color: #EEEEEE; } .content-news, .content-close { float: right; width: 248px; height: 236px; border: 1px solid #CCCCCC; } .content-close { margin-top: 12px; border-color: red; } .footer { height: 132px; padding: 25px 0; background-color: #eceef2; }
相关文章推荐
- 前端系列之实战(城市医院预约挂号平台2.基本样式编写)
- 前端系列之实战(城市医院预约挂号平台3.UI组件)
- clojure实战——搭建web前端开发框架(模拟web服务器、推送js修改)
- clojure实战——快速搭建web前端开发框架
- google官方架构MVP解析与实战-(从零开始搭建android框架系列(3))
- google官方架构MVP解析与实战【从零开始搭建android框架系列(3)】
- google官方架构MVP解析与实战-(从零开始搭建android框架系列(3))
- MP实战系列(一)之入门框架搭建和使用
- google官方架构MVP解析与实战-(从零开始搭建android框架系列(3))
- Code First开发系列实战之使用EF搭建小型博客平台
- Javascript MVVM模式前端框架—Knockout 2.1.0系列(9):内建绑定之——Click绑定
- 自己搭建前端框架的种种经验之谈
- Spark入门实战系列--2.Spark编译与部署(上)--基础环境搭建
- Linux系列-Red Hat5平台下的LAMP网站服务搭建(一)
- 【airflow实战系列】 基于 python 的调度和监控工作流的平台
- 分时分级诊疗微信预约系统解决医院挂号难的问题!
- 如何搭建一个可以链式调用,批量操作的前端框架
- .net转php laraval框架学习系列(一) 环境搭建
- 基于.NET平台的分层架构实战(九)——数据访问层的第三种实现:基于NBear框架的ORM实现
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink实战基础0019--IDEA搭建maven管理的集成开发环境001