视频网站大杂烩--HTML+CSS练手项目1【Frameset】
【本文为原创,转载请注明出处】

技术【CSS+HTML】 布局【Frameset】
------------------------------------------------------------------------------------------------------------
步骤1 Frameset 布局
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>视频网站大杂烩</title>
<link rel="stylesheet" href="">
</head>
<frameset cols="200px ,*">
<frame src="html/list.html" noresize="noresize"/>
<frame name="video" src="html/video.html" noresize="noresize"/>
</frameset>
</html>
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>video</title>
<link rel="stylesheet" href="">
</head>
<frameset rows="33.33%,33.33%,*">
<frameset cols="33.33%,33.33%,*">
<frame src="http://www.360kan.com/"/>
<frame src="http://www.iqiyi.com/"/>
<frame src="https://v.qq.com/"/>
</frameset>
<frameset cols="33.33%,33.33%,*">
<frame src="https://www.mgtv.com/"/>
<frame src="https://tv.sohu.com/"/>
<frame src="https://www.bilibili.com/"/>
</frameset>
<frameset cols="33.33%,33.33%,*">
<frame src="http://www.73mao.com/"/>
<frame src="http://www.hanju.cc/"/>
<frame src="https://www.dadatutu.com/"/>
</frameset>
</frameset>
</html>
list.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>video</title>
</head>
<frameset rows="33.33%,33.33%,*">
<frameset cols="33.33%,33.33%,*">
<frame src="http://www.360kan.com/"/>
<frame src="http://www.iqiyi.com/"/>
<frame src="https://v.qq.com/"/>
</frameset>
<frameset cols="33.33%,33.33%,*">
<frame src="https://www.mgtv.com/"/>
<frame src="https://tv.sohu.com/"/>
<frame src="https://www.bilibili.com/"/>
</frameset>
<frameset cols="33.33%,33.33%,*">
<frame src="http://www.73mao.com/"/>
<frame src="http://www.hanju.cc/"/>
<frame src="https://www.dadatutu.com/"/>
</frameset>
</frameset>
</html>
video.html
步骤2 CSS样式【大小、位置、颜色、图片】
css要求:左边导航栏列表居中,颜色,字体大小
*{
margin:0px;
padding: 0px;
}
body{
background-color: #f1f1f1;
}
ul{
/* 消除有序列表的项目符号 list-style-type:none; */
list-style-type:none;
}
li{
width: 100%;
height: 40px;
line-height:40px;;
}
li a{
text-decoration: none;
display: block;
text-align: center;
font-size: 18px;
font-family: "Book Antiqua";
color: #000;
}
li a:hover{
background-color: #555;
color: #FFFFFF;
}
.list-homepage{
background-color: #4CAF50;
color: white;
}
/* 消除有序列表的项目符号 list-style-type:none; */
/*<li>里面的<a>内容居中:display: block; text-align: center;*/
list.css
步骤4 知识点整理
1.消除有序列表的项目符号 list-style-type:none;
2.<li>里面的<a>内容居中:display: block; text-align: center;
3.垂直导航栏【未整理】
4.调用网页适应frame大小 【未整理】
------------------------------------------------------------------------------------------------------------
【完整代码链接:还未上传,可私聊我】
【不足之处望指出,一起努力学习前端】
视频网站大杂烩--HTML+CSS练手项目1【Frameset】的更多相关文章
- 仿百度图片首页--HTML+CSS练手项目1【Table】
[本文为原创,转载请注明出处] 技术[CSS+HTML] 布局[Table] 图片准备[百度图标.10张不同类型图] --------------------------------------- ...
- 10个有趣的Python教程,附视频讲解+练手项目。
从前的日色变得慢,车.马.邮件都慢 一生只够爱一门编程语言 从前的教程也好看,画面精美有样子 你看了,立马就懂了 Python最性感的地方,就在于它的趣味性和前沿性,学习Python,你总能像科技节的 ...
- web前端学习部落22群分享给需要前端练手项目
前端学习还是很有趣的,可以较快的上手然后自己开发一些好玩的项目来练手,网上也可以一抓一大把关于前端开发的小项目,可是还是有新手在学习的时候不知道可以做什么,以及怎么做,因此,就整理了一些前端项目教程, ...
- Python之路【第二十四篇】:Python学习路径及练手项目合集
Python学习路径及练手项目合集 Wayne Shi· 2 个月前 参照:https://zhuanlan.zhihu.com/p/23561159 更多文章欢迎关注专栏:学习编程. 本系列Py ...
- 80个Python练手项目列表
80个Python练手项目列表 我若将死,给孩子留遗言,只留一句话:Repetition is the mother of all learning重复是学习之母.他们将来长大,学知识,技巧.爱情 ...
- webpack练手项目之easySlide(三):commonChunks(转)
Hello,大家好. 在之前两篇文章中: webpack练手项目之easySlide(一):初探webpack webpack练手项目之easySlide(二):代码分割 与大家分享了webpack的 ...
- webpack练手项目之easySlide(二):代码分割(转)
在上一篇 webpack练手项目之easySlide(一):初探webpack 中我们一起为大家介绍了webpack的基本用法,使用webpack对前端代码进行模块化打包. 但是乍一看webpack ...
- 推荐:一个适合于Python新手的入门练手项目
随着人工智能的兴起,国内掀起了一股Python学习热潮,入门级编程语言,大多选择Python,有经验的程序员,也开始学习Python,正所谓是人生苦短,我用Python 有个Python入门练手项目, ...
- webpack练手项目之easySlide(三):commonChunks
Hello,大家好. 在之前两篇文章中: webpack练手项目之easySlide(一):初探webpack webpack练手项目之easySlide(二):代码分割 与大家分享了webpack的 ...
随机推荐
- Centos7下把python 2.7升级到python 3.6(升级过程遇到的一些相关问题)
Centos 7 默认安装的Python 的版本是2.7的,现在不少人用的是3.x上的版本,故而需要了解下如何从Python2.7升级到Python 3.6. 在虚拟机安装时,网络不通会先遇到一个错误 ...
- x264 b_annexb格式和多slice
实际应用环境:iOS,Android x264_param_t中有下面两个参数值得注意下int i_threads; /* encode multiple frames in paral ...
- 请问在 .NET Core 中如何让 Entity Framework Core 在日志中记录由 LINQ 生成的SQL语句?
using dotNET.Core; using Microsoft.Extensions.Logging; using System; using System.Collections.Generi ...
- 【GMT43智能液晶模块】例程二十一:DMA LAN实验——高速数据传输测速
源代码下载链接: 链接:https://pan.baidu.com/s/1wQomZvOUP9_ZslZus_NSIA 提取码:3fmf 复制这段内容后打开百度网盘手机App,操作更方便哦 GMT43 ...
- EVE-NG使用手册
转裁于https://www.cnblogs.com/51yuki/articles/eve01.html EVE-NG使用手册 一)EVE-NG的安装 1)下载EVE镜像包 https://pa ...
- CentOS7使用yum安装redis
#下载fedora的epel仓库yum install epel-release #安装redis数据库yum install redis # 启动Redisservice redis start # ...
- Entity Framework Core for Console
包 Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.SqlServer Microsoft.EntityFrameworkCor ...
- 转 python2 与 python3 的编码
原文链接:https://blog.csdn.net/xufive/article/details/102726739 引文如下: 无论是py2还是py3,都使用unicode作为内存编码,简称内码. ...
- latex 写大论文图目录中图注过长解决方案
写论文(尤其是学位论文)的时候,Figure通常都是有很长的注释,而Latex的list of figures似乎不能换行(看到有换行的,不过感觉不够美观). 再说,list of figures里面 ...
- maven将Jar安装进仓库
mvn install:install-file -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.4 -Dpac ...