Skip to content

Commit

Permalink
feat: 新增Web服务
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingguo committed Jan 16, 2024
1 parent a840939 commit dc98bb7
Show file tree
Hide file tree
Showing 42 changed files with 73 additions and 20 deletions.
35 changes: 34 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
.idea

\.idea/


# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.parcel-cache
package-lock.json
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "demo",
"version": "1.0.0",
"description": "",
"source": "src/index.html",
"scripts": {
"dev": "parcel",
"build": "parcel build"
},
"author": "songxingguo",
"license": "ISC",
"devDependencies": {
"parcel": "latest"
},
"dependencies": {
"parcel": "^2.11.0"
}
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@
}
.face:nth-child(5) {
background-color: cornflowerblue;
transform: translateZ(200px); //立方体前面正对着屏幕,所以不用旋转,只需向Z轴前移动距离
/* 立方体前面正对着屏幕,所以不用旋转,只需向Z轴前移动距离 */
transform: translateZ(200px);

}
.face:nth-child(6) {
background-color: cadetblue;
transform: translateZ(0); //立方体后面正对着屏幕,所以不用旋转,只需向Z轴后移动距离
/* 立方体后面正对着屏幕,所以不用旋转,只需向Z轴后移动距离 */
transform: translateZ(0);
}
#container:hover .box {
transform: rotateX(360deg) rotateY(-360deg);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
top: 50%;
margin-top: -10px;
}
</styl
</style>
</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 style="text-align:center">响应式图片相册</h2>

<div class="responsive">
<div class="img">
<a target="_blank" href="img_fjords.jpg">
<a target="_blank">
<img src="http://www.runoob.com/wp-content/uploads/2016/04/img_fjords.jpg" alt="Trolltunga Norway" width="300" height="200">
</a>
<div class="desc">Add a description of the image here</div>
Expand All @@ -69,7 +69,7 @@ <h2 style="text-align:center">响应式图片相册</h2>

<div class="responsive">
<div class="img">
<a target="_blank" href="img_forest.jpg">
<a target="_blank">
<img src="http://www.runoob.com/wp-content/uploads/2016/04/img_forest.jpg" alt="Forest" width="600" height="400">
</a>
<div class="desc">Add a description of the image here</div>
Expand All @@ -78,7 +78,7 @@ <h2 style="text-align:center">响应式图片相册</h2>

<div class="responsive">
<div class="img">
<a target="_blank" href="img_lights.jpg">
<a target="_blank">
<img src="http://www.runoob.com/wp-content/uploads/2016/04/img_lights.jpg" alt="Northern Lights" width="600" height="400">
</a>
<div class="desc">Add a description of the image here</div>
Expand All @@ -87,7 +87,7 @@ <h2 style="text-align:center">响应式图片相册</h2>

<div class="responsive">
<div class="img">
<a target="_blank" href="img_mountains.jpg">
<a target="_blank">
<img src="http://www.runoob.com/wp-content/uploads/2016/04/img_mountains.jpg" alt="Mountains" width="600" height="400">
</a>
<div class="desc">Add a description of the image here</div>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
24 changes: 12 additions & 12 deletions index.html → src/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML基础</title>
</head>
<body>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>HTML基础</title>
</head>
<body>
<div>
<h2>HTML 基础</h2>
<ul>
Expand All @@ -24,16 +24,16 @@ <h2>CSS基础</h2>
<ul>
<li><a href="CSS基础/图片廊.html">图片廊</a></li>
<li><a href="CSS基础/响应式图片相册.html">响应式图片相册</a></li>
</ul>
</ul>
<h2>CSS3 动画</h2>
<ul>
<li><a href="CSS3动画/倾斜的导航.html">倾斜的导航</a></li>
<li><a href="CSS3动画/倾斜的导航.html">倾斜的导航</a></li>
<li><a href="CSS3动画/风车练习.html">风车练习</a></li>
<li><a href="CSS3动画/时钟练习.html">时钟练习</a></li>
<li><a href="CSS3动画/3D盒子练习.html">3D盒子练习</a></li>
<li><a href="CSS3动画/3D盒子展开练习.html">3D盒子展开练习</a></li>
<li><a href="CSS3动画/3D盒子炸开练习.html">3D盒子炸开练习</a></li>
<li><a href="CSS3动画/fir.im网站.html">fir.im网站</a></li>
<li><a href="CSS3动画/fir.im网站.html">fir.im网站</a></li>
</ul>
<h2>Flex 布局</h2>
<ul>
Expand All @@ -42,5 +42,5 @@ <h2>Flex 布局</h2>
<li><a href="Flex布局/响应式页面.html">响应式页面</a></li>
</ul>
</div>
</body>
</html>
</body>
</html>
File renamed without changes.
File renamed without changes.

0 comments on commit dc98bb7

Please sign in to comment.