文章目录

  • 1.1 相册初始界面
  • 1.2 相册浏览界面
  • 1.3 CSS样式文件

1.1 相册初始界面

代码部分:

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>相册初始界面</title><link rel="stylesheet" href="01-Main.css"><link rel="shortcut icon" href="../00-images/18-相册logo图标.ico">
</head><body><div class="div-head"><span>相册管家</span><a href="02-Initial.html" style="left: 70%;color: cyan">首页</a><a href="03-Browse.html" style="left: 80%;">浏览</a><a href="04-Manage.html" style="left: 90%;">管理</a></div><hr class="hr-shadow"><div class="div-background"><span style="color: silver;padding-top: 175px;padding-left: 95px;">“</span><span class="title thin">记忆轻舞飞扬,</span><br><span class="title thick">定格你的美好瞬间。</span><span style="color: silver;padding-top: 200px;padding-left: 300px;">”</span><a href="#"><button style="margin-left: 180px;" >开始使用</button></a><a href="03-Browse.html"><button style="margin-left: 10px;">浏览已有相册</button></a></div>
</body></html>

运行在浏览器后,效果如图所示:

1.2 相册浏览界面

代码部分:

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>相册浏览界面</title><link rel="stylesheet" href="01-Main.css"><link rel="shortcut icon" href="../00-images/18-相册logo图标.ico">
</head><body><div class="div-head"><span>相册管家</span><a href="02-Initial.html" style="left: 70%;">首页</a><a href="03-Browse.html" style="left: 80%;color: cyan;">浏览</a><a href="04-Manage.html" style="left: 90%;">管理</a></div><hr class="hr-shadow"><div class="box" style="margin-left: 135px;"><a href="06-RobertAlbum.html"><img src="../00-images/24-相册图片.jpg" alt=""></a><p class="review">“一位喜欢足球与艺术的成都小姑娘”</p><div class="appraise">2022-2-4</div><div class="info"><h4> Robert-Plant</h4><em>|</em><span> 人物</span></div></div><div class="box"><a href="#"><img src="../00-images/29-天空一角.jpg" "></a><p class=" review">“要有一双发现美的眼睛”</p><div class="appraise">2022-2-4</div><div class="info"><h4> Life </h4><em>|</em><span> 风景</span></div></div><div class="box"><a href="#"><img src="../00-images/06-张玉宁 抬手庆祝.png" "></a><p class=" review">"中国足球的这些年"</p><div class="appraise">2022-2-4</div><div class="info"><h4> football</h4><em>|</em><span> 运动</span></div></div><hr></body></html>

运行效果:

1.3 CSS样式文件

* {margin: 0px;padding: 0px;
}.div-head {width: auto;height: 40px;background-color: white;background-image: url("../00-images/15-相册logo图片.png");background-position: 81px 17px;background-repeat: no-repeat;background-size: 2.5%;padding-top: 23px;padding-left: 115px;
}.div-head span {font-size: 18px;font-weight: 700;font-family: "Lucida Calligraphy", cursive, serif, sans-serif;;
}.hr-shadow {/* 带阴影分割线 */border: 0;padding-top: 10px;color: #d0d0d5;border-top: 2px solid rgba(0, 0, 0, .1);box-shadow: inset 0 10px 10px -10px;
}.div-head a{text-decoration: none;color: black;position: absolute;
}.div-head a:hover{text-decoration:underline;text-decoration-color: cyan;text-underline-offset: 20px;text-decoration-thickness: 4px;color: cyan;
}.div-background {width: 1250px;height: 500px;background-color: rgba(192, 204, 226, 0.4);background-image: url(../00-images/27-相册初始界面背景图片.jpg);background-size: 45%;background-repeat: no-repeat;background-position: right 60%;
}.title.thin {letter-spacing: 2px;font-weight: 200;padding-top: 180px;padding-left: 120px;
}.title.thick {letter-spacing: 2px;font-weight: 200;padding-top: 200px;padding-left: 140px;
}.div-background span {display: inline-block;position: absolute;
}.div-background button{background-image: -webkit-gradient(linear, right top, left top, from(#408fff), color-stop(94%, #8065f8));background-image: linear-gradient(-90deg, #408fff, #8065f8 94%);color: #fff;margin-top: 255px;
}body {background-color: #f5f5f5;
}a {color: #333;text-decoration: none;
}.box {width: 298px;height: 415px;background-color: #fff;/* 让块级的盒子水平居中对齐 */margin: 100px 30px;display: inline-block;
}.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 25px;
}.div-RobertAlbum {text-align: center;
}.div-RobertAlbum h4 a img {width: 25px;
}.div-RobertAlbum h4 a:hover img {width: 27px;
}.div-RobertAlbumBigTitle {font-size: 36px;color: black;font-weight: 500;
}.div-RobertAlbumCover {width: 678px;
}.div-twooperation {margin-left: 180px;width: 190px;position: absolute;padding-left: 70%;
}.div-twooperation img {height: 30px;padding-top: 10px;display: inline-block;vertical-align: middle;margin: -5px 5px 0 5px;
}.div-twooperation span {height: 30px;padding-top: 10px;display: inline-block;vertical-align: middle;margin: 0px 5px 0 5px;font-size: 18px;color: #b0b0b0;
}.div-sidebar {width: 1250px;
}.div-sidebar a {display: block;width: 180px;height: 30px;background-color: rgba(83, 87, 88,.05);text-decoration: none;text-align: left;text-indent: 20px;color: black;line-height: 30px;
}.div-sidebar a:hover {background-color: rgb(255, 111, 0);
}.div-sidebar a img {width: 15px;
}.centera a img{width: 40px;margin-bottom: 220px;
}

前端:HTML+CSS实现相册管理网站原型相关推荐

  1. idea开发SSM框架的高校大学学生社团管理网站bootstrap自适应响应式前端(javaweb-php-asp.netC#-j2ee)包含公告管理-社团活动管理-社团申请管理-社团审核-活动报名

    目录 0.效果展示 1.概述 2.社团管理网站搭建环境 3.数据表结构 ​4.后端代码示例 5.前端代码示例 0.效果展示 1.概述 高校学生社团是高校学生依据兴趣爱好自愿组成,按照章程自主开展活动的 ...

  2. Tomcat 配置 项目 到tomcat目录外面 和 域名绑定访问(api接口、前端网站、后台管理网站)...

    先停止tomcat服务 1.进入apache-tomcat-7.0.68/conf/Catalina/localhost(如果之前还都没有启动过tomcat,是不会有此目录的,先启动一次再关闭,会自动 ...

  3. web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作...

    web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手? ...

  4. 个人设计web前端大作业~响应式游戏网站源码(HTML+CSS+Bootstrap)

    HTML期末大作业课程设计游戏主题html5网页~响应式游戏网站(HTML+CSS+Bootstrap) ~个人设计web前端大作业 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头 ...

  5. web前端期末大作业:文化网站设计——中国风文化html源码(6个页面) HTML+CSS+JavaScript...

    web前端期末大作业:文化网站设计--中国风文化html源码(6个页面) HTML+CSS+JavaScript 期末作业HTML代码 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到 ...

  6. web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作

    web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手? ...

  7. java计算机毕业设计网络游戏管理网站源程序+mysql+系统+lw文档+远程调试

    java计算机毕业设计网络游戏管理网站源程序+mysql+系统+lw文档+远程调试 java计算机毕业设计网络游戏管理网站源程序+mysql+系统+lw文档+远程调试 本源码技术栈: 项目架构:B/S ...

  8. 前端学习资料及路线名称网站

    IT前端学习资料及路线 名称 网站 JQuery文件网 https://code.jquery.com/jquery/ jQuery手册(pc端) http://jquery.cuishifeng.c ...

  9. springboot2 使用hikaridatasource 并测试_基于Spring Boot 2.x的后端管理网站脚手,源码免费分享...

    基于Spring Boot 2.x 的 Material Design 的后端管理网站脚手架 :提供权限认证 用户管理 菜单管理 操作日志 等常用功能 去繁就简 重新出发 基于Spring Boot ...

最新文章

  1. 系统怎么手动打补丁_韩国服务器不稳定怎么办?
  2. mysql不停止重启服务器_不停止MySQL服务增加从库的两种方式
  3. python入门教程软件-程序员带你十天快速入门Python,玩转电脑软件开发(四)
  4. 前端面试-综合问题版
  5. python选取元音开头的单词_一学生易错词汇aan的选择元音字母开头的单词用an辅音字母...
  6. 14天学会安卓开发(附PDF文档和全部示例代码)
  7. 火焰传感器工作原理_不同接近传感器工作原理
  8. python数字类型floatcomplexint_Python 四种数值类型(int,long,float,complex)区别及转换
  9. eclipse生成ant build.xml打war包
  10. 【源码】高精度31波段音频均衡器
  11. 前端安全 XSS跨站脚本攻击-CSRF跨站请求伪造攻击
  12. qq不显示我的android手机,qq2013不显示手机在线怎么办
  13. 51单片机dds信号发生器 扫频 c语言,基于DDS正弦信号发生器设计.doc
  14. 怀旧版大脚插件未能从服务器,魔兽世界怀旧服大脚插件怎么用 大脚插件安装使用攻略...
  15. PHP爆绝对路径方法
  16. iOS程序模块化设计
  17. 在2018年使用xp是怎样的体验
  18. 读《如何有效阅读一本书:超实用笔记读书法》
  19. AD9361收发通道原理和配置(AD射频随笔01)
  20. MySQL8高级_读写分离和分库分表

热门文章

  1. Maven项目简单介绍
  2. python实现isodd函数_python 程序练习题
  3. 【STM32学习】SysTick定时器(嘀嗒定时器)
  4. XXE无回显攻击详解
  5. exit(0)和_exit(0)区别
  6. shell 中 exit0 exit1 的区别
  7. MBA管理类联考英语二题型答题时间及次序问题
  8. callio项目—Bootstrap响应式网页(1+X Web前端开发中级 例题)
  9. Visual Studio 2008 安装错误所需 WebDesignerCore 与 WinSDK_Build 文件下载
  10. 央国企数字化转型难在哪?为什么要数字化转型?