Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
御承扬
WebCourse
提交
8f86f1d0
W
WebCourse
项目概览
御承扬
/
WebCourse
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
WebCourse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8f86f1d0
编写于
4月 17, 2020
作者:
7
7wc98#14
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update
上级
c3d3a289
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
234 addition
and
76 deletion
+234
-76
src/main/resources/templates/Buju.html
src/main/resources/templates/Buju.html
+151
-32
src/main/resources/templates/test4.html
src/main/resources/templates/test4.html
+42
-23
src/main/resources/templates/useJavascript.html
src/main/resources/templates/useJavascript.html
+41
-21
未找到文件。
src/main/resources/templates/Buju.html
浏览文件 @
8f86f1d0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<mete
name=
"viewport"
content=
"width = device-width,initial-scale=1.0"
></mete>
<meta
charset=
"UTF-8"
>
<title>
页面布局
</title>
<link
rel=
"stylesheet"
href=
"../static/css/buju.css"
>
<script
src=
"../static/js/jquery-3.3.1/jquery-3.3.1.js"
></script>
<script
src=
"../static/bootstrap-3.3.7/js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
href=
"../static/bootstrap-3.3.7/css/bootstrap.min.css"
>
<!-- <link rel="stylesheet" href="../static/css/buju.css">-->
<style
type=
"text/css"
>
.active
{
color
:
blue
;
transform
:
scale
(
1.2
);
body
{
background-color
:
gray
;
}
@media
screen
and
(
max-width
:
790px
){
#content
{
position
:
absolute
;
left
:
28%
;
float
:
left
;
width
:
40%
;
background-color
:
white
;
margin-left
:
5px
;
height
:
600px
;
}
#text-content
{
text-align
:
center
;
margin
:
0
auto
;
padding-top
:
50px
;
overflow
:
scroll
;
height
:
600px
;
}
}
@media
screen
and
(
max-width
:
1071px
){
#content
{
position
:
absolute
;
left
:
30%
;
float
:
left
;
width
:
40%
;
background-color
:
white
;
margin-left
:
5px
;
height
:
700px
;
}
#text-content
{
text-align
:
center
;
margin-left
:
10px
;
padding-top
:
50px
;
overflow
:
scroll
;
height
:
700px
;
}
}
@media
screen
and
(
max-width
:
1900px
){
#content
{
position
:
absolute
;
left
:
40%
;
float
:
left
;
width
:
40%
;
background-color
:
white
;
margin-left
:
5px
;
height
:
700px
;
}
#text-content
{
text-align
:
center
;
margin-left
:
10px
;
padding-top
:
50px
;
overflow
:
scroll
;
height
:
700px
;
}
}
@media
screen
and
(
min-width
:
790px
)
{
body
{
background-color
:
#bdd4e9
;
font-size
:
16px
;
}
}
@media
screen
and
(
min-width
:
970px
){
body
{
font-size
:
18px
;
background-color
:
#9d9f96
;
}
}
@media
screen
and
(
min-width
:
1000px
){
body
{
font-size
:
20px
;
background-color
:
#899f98
;
}
}
#title
{
position
:
relative
;
right
:
1%
;
text-align
:
center
;
}
p
{
line-height
:
2em
;
font-family
:
华文楷体
,
serif
;
text-align
:
left
;
font-size
:
16px
;
text-indent
:
2em
;
}
#main
{
width
:
100%
;
margin
:
0
auto
;
}
.aside
{
float
:
left
;
width
:
300px
;
height
:
700px
;
background-color
:
#bdd4e9
;
}
</style>
</head>
<body>
<div
id=
"container"
>
<div
id=
"header"
>
<div
style=
"margin-top: 10px;padding-top:30px; "
>
<h1
style=
"color: red;"
>
Web 课实验·页面布局
</h1>
<div
id=
"head"
class=
"jumbotron text-center"
style=
"margin-bottom:0"
>
<h1>
Web 课实验二·页面布局
</h1>
</div>
<nav
class=
"navbar navbar-inverse"
>
<div
class=
"container-fluid"
>
<!-- Brand and toggle get grouped for better mobile display -->
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-1"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
>
御承扬
</a>
</div>
</div>
<div
id=
"nav"
>
<a
href=
"Home.html"
>
御承扬
</a>
<a
href=
"Home.html"
>
首页
</a>
<a
href=
"Person.html"
>
个人页
</a>
<a
href=
"#"
class=
"active"
>
页面布局
</a>
<a
href=
"test4.html"
>
圆角和阴影
</a>
<a
href=
"useJavascript.html"
>
Javascript1
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<li
><a
href=
"Home.html"
>
首页
</a>
</li>
<li
><a
href=
"Person.html"
>
站主相关
<span
class=
"sr-only"
>
(current)
</span></a></li>
<li
class=
"dropdown active"
>
<a
href=
"#"
class=
"dropdown-toggle "
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
网页布局示例
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
<li
class=
"active"
><a
href=
"Buju.html"
>
页面布局
</a></li>
<li><a
href=
"test4.html"
>
元素效果
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"useJavascript.html"
>
JS使用
</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div
class=
"container"
>
<!-- <div id="header">-->
<!-- <div style="margin-top: 10px;padding-top:30px; ">-->
<!-- <h1 style="color: red;">Web 课实验·页面布局</h1>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div id="nav">-->
<!-- <a href="Home.html">御承扬</a>-->
<!-- <a href="Home.html">首页</a>-->
<!-- <a href="Person.html">个人页</a>-->
<!-- <a href="#" class="active">页面布局</a>-->
<!-- <a href="test4.html">圆角和阴影</a>-->
<!-- <a href="useJavascript.html">Javascript1</a>-->
<!-- </div>-->
<div
id=
"main"
>
<div
id=
"lp"
class=
"aside"
>
<br>
...
...
@@ -70,22 +201,10 @@
</div>
</div>
</div>
<div
id=
"rp"
class=
"aside"
>
<br>
<img
src=
"../static/images/spring.jfif"
alt=
"照片"
style=
"width: 300px;height: 90px;"
>
<br>
<br>
<img
src=
"../static/images/css.jfif"
alt=
"照片"
style=
"width: 300px;height: 200px;"
>
<br>
<br>
<img
src=
"../static/images/javascript.jpg"
alt=
"照片"
style=
"width: 300px;height: 250px;"
>
</div>
</div>
<div
id=
"footer"
>
<div
style=
"margin-top: 10px;padding-top: 50px;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</div>
</div>
<div
id=
"footer"
class=
"jumbotron text-center"
style=
"background-color: #5a6268;;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</body>
</html>
\ No newline at end of file
src/main/resources/templates/test4.html
浏览文件 @
8f86f1d0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<mete
name=
"viewport"
content=
"width = device-width,initial-scale=1.0"
></mete>
<meta
charset=
"UTF-8"
>
<title>
圆角和阴影
</title>
<title>
页面布局
</title>
<script
src=
"../static/js/jquery-3.3.1/jquery-3.3.1.js"
></script>
<script
src=
"../static/bootstrap-3.3.7/js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
href=
"../static/bootstrap-3.3.7/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"../static/css/buju.css"
>
<style
type=
"text/css"
>
.active
{
color
:
blue
;
transform
:
scale
(
1.2
);
}
#RotateBox
{
margin-top
:
50px
;
width
:
400px
;
...
...
@@ -83,20 +83,41 @@
</style>
</head>
<body>
<div
id=
"container"
>
<div
id=
"header"
>
<div
style=
"margin-top: 10px;padding-top:30px; "
>
<h1
style=
"color: red;"
>
Web 课实验·圆角和阴影
</h1>
<div
id=
"head"
class=
"jumbotron text-center"
style=
"margin-bottom:0"
>
<h1>
Web 课实验二·页面布局
</h1>
</div>
<nav
class=
"navbar navbar-inverse"
>
<div
class=
"container-fluid"
>
<!-- Brand and toggle get grouped for better mobile display -->
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-1"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
>
御承扬
</a>
</div>
</div>
<div
id=
"nav"
>
<a
href=
"Home.html"
>
御承扬
</a>
<a
href=
"Home.html"
>
首页
</a>
<a
href=
"Person.html"
>
个人页
</a>
<a
href=
"Buju.html"
>
页面布局
</a>
<a
href=
"#"
class=
"active"
>
圆角和阴影
</a>
<a
href=
"useJavascript.html"
>
Javascript1
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<li
><a
href=
"Home.html"
>
首页
</a>
</li>
<li
><a
href=
"Person.html"
>
站主相关
<span
class=
"sr-only"
>
(current)
</span></a></li>
<li
class=
"dropdown active"
>
<a
href=
"#"
class=
"dropdown-toggle "
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
网页布局示例
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
<li
><a
href=
"Buju.html"
>
页面布局
</a></li>
<li
class=
"active"
><a
href=
"test4.html"
>
元素效果
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"useJavascript.html"
>
JS使用
</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div
id=
"container"
>
<div
id=
"main"
>
<div
id=
"lp"
class=
"aside"
>
<div
class=
"box1"
>
...
...
@@ -155,11 +176,9 @@
</div>
</div>
</div>
<div
id=
"footer"
>
<div
style=
"margin-top: 10px;padding-top: 50px;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</div>
</div>
<div
id=
"footer"
class=
"jumbotron text-center"
style=
"background-color: #5a6268;;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</body>
</html>
\ No newline at end of file
src/main/resources/templates/useJavascript.html
浏览文件 @
8f86f1d0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<mete
name=
"viewport"
content=
"width = device-width,initial-scale=1.0"
></mete>
<meta
charset=
"UTF-8"
>
<title>
页面布局
</title>
<script
src=
"../static/js/jquery-3.3.1/jquery-3.3.1.js"
></script>
<script
src=
"../static/bootstrap-3.3.7/js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
href=
"../static/bootstrap-3.3.7/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"../static/css/buju.css"
>
<style
type=
"text/css"
>
.active
{
color
:
blue
;
}
.cen
{
margin
:
25%
auto
;
}
...
...
@@ -24,20 +25,41 @@
</script>
</head>
<body>
<div
id=
"container"
>
<div
id=
"header"
>
<div
style=
"margin-top: 10px;padding-top:30px; "
>
<h1
style=
"color: red;"
>
Web 课实验·Javascript使用方式
</h1>
<div
id=
"head"
class=
"jumbotron text-center"
style=
"margin-bottom:0"
>
<h1>
Web 课实验六·Javascript 使用
</h1>
</div>
<nav
class=
"navbar navbar-inverse"
>
<div
class=
"container-fluid"
>
<!-- Brand and toggle get grouped for better mobile display -->
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-1"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
>
御承扬
</a>
</div>
</div>
<div
id=
"nav"
>
<a
href=
"Home.html"
>
御承扬
</a>
<a
href=
"Home.html"
>
首页
</a>
<a
href=
"Person.html"
>
个人页
</a>
<a
href=
"Buju.html"
>
页面布局
</a>
<a
href=
"test4.html"
>
圆角和阴影
</a>
<a
href=
"#"
class=
"active"
>
Javascript1
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<li
><a
href=
"Home.html"
>
首页
</a>
</li>
<li
><a
href=
"Person.html"
>
站主相关
<span
class=
"sr-only"
>
(current)
</span></a></li>
<li
class=
"dropdown active"
>
<a
href=
"#"
class=
"dropdown-toggle "
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
网页布局示例
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
<li
><a
href=
"Buju.html"
>
页面布局
</a></li>
<li
><a
href=
"test4.html"
>
元素效果
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li
class=
"active"
><a
href=
"useJavascript.html"
>
JS使用
</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div
id=
"container"
>
<div
id=
"main"
>
<div
id=
"lp"
class=
"aside"
>
<p
id=
"ap"
>
...
...
@@ -61,11 +83,9 @@
<button
onclick=
"f3()"
>
外部JS
</button>
</div>
</div>
<div
id=
"footer"
>
<div
style=
"margin-top: 10px;padding-top: 50px;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</div>
</div>
<div
id=
"footer"
class=
"jumbotron text-center"
style=
"background-color: #5a6268;;"
>
<h1
style=
"color: #f8f8f8"
>
Copyright
<strong>
©
彭友聪
</strong>
201724073161
</h1>
</div>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录