Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
bdideal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8047b03d
authored
Mar 21, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面
parent
81bba533
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
0 deletions
+100
-0
bg.jpg
+0
-0
index.html
+100
-0
logo.png
+0
-0
No files found.
bg.jpg
0 → 100644
View file @
8047b03d
303 KB
index.html
0 → 100644
View file @
8047b03d
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
登录页
</title>
<style>
*
{
margin
:
0
;
padding
:
0
;
}
html
,
body
{
height
:
100%
;
font-size
:
14px
;
}
.bg
{
height
:
100%
;
background
:
#edeeef
url('./bg.jpg')
center
center
;
background-size
:
cover
;
}
.logo
{
width
:
18.5rem
;
height
:
6rem
;
text-align
:
right
;
float
:
right
;
margin-top
:
4rem
;
margin-right
:
6rem
;
}
.logo
img
{
width
:
18.5rem
;
height
:
6rem
;
text-align
:
right
;
}
.content-word
{
text-align
:
center
;
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
50%
;
margin
:
auto
auto
;
margin-top
:
-11rem
;
display
:
inline-block
;
width
:
74rem
;
}
.content-word
.zh
{
font-size
:
7.14rem
;
font-weight
:
500
;
color
:
rgba
(
102
,
102
,
102
,
1
);
/* width: */
}
.content-word
.zh
{
font-size
:
7.14rem
;
font-weight
:
500
;
color
:
rgba
(
102
,
102
,
102
,
1
);
}
.content-word
.en
{
font-size
:
2rem
;
font-weight
:
500
;
color
:
rgba
(
102
,
102
,
102
,
0.8
);
text-align
:
right
;
}
</style>
</head>
<body>
<div
class=
"bg"
>
<img
class=
"logo"
src=
"./logo.png"
alt=
""
>
<div
class=
"content-word"
>
<div
class=
"zh"
>
数字理想 后台管理系统
</div>
<div
class=
"en"
>
BACKGROUND MANAGEMENT SYSTEM
</div>
</div>
<div
class=
"todo......"
></div>
</div>
</body>
<script>
function
resize
(
params
)
{
var
width
=
window
.
innerWidth
;
document
.
querySelector
(
'html'
).
style
.
fontSize
=
width
/
1920
*
14
+
"px"
}
resize
()
window
.
addEventListener
(
"resize"
,
resize
)
</script>
</html>
\ No newline at end of file
logo.png
0 → 100644
View file @
8047b03d
10 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment