Commit 0d880026 authored by wuhao's avatar wuhao 🎯

asder

parent 799408e1
Pipeline #6192 passed with stages
in 4 minutes and 55 seconds
This diff is collapsed.
...@@ -6,7 +6,11 @@ import "./index.less"; ...@@ -6,7 +6,11 @@ import "./index.less";
function LoginLayout() { function LoginLayout() {
return ( return (
<div className="wrap"> <div className="wrap" style={{
backgroundImage: "url(./assets/hd.jpg)",
}}>
<div className="cover"></div>
<Container <Container
component="main" component="main"
maxWidth="xs" maxWidth="xs"
...@@ -17,10 +21,11 @@ function LoginLayout() { ...@@ -17,10 +21,11 @@ function LoginLayout() {
padding: 0, padding: 0,
borderRadius: 12, borderRadius: 12,
overflow:"hidden", overflow:"hidden",
backdropFilter: "blur(4px)"
}} }}
borderRadius={2} borderRadius={2}
> >
<Box <Box
className="right" className="right"
sx={{ sx={{
......
...@@ -15,17 +15,16 @@ body { ...@@ -15,17 +15,16 @@ body {
justify-content: center; justify-content: center;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background-image: linear-gradient( background-position-y: -6px;
145deg, .cover{
#f7f7f7 0%, position: absolute;
#f0f0f0 25%, width: 100%;
#c9c9c9 50%, height: 100%;
#f0f0f0 75%, background-color: rgba(0,0,0,0.2);
#f7f7f7 100% pointer-events: none;
); }
background-size: 400% 400%;
animation: bgmove 20s linear 0s infinite alternate forwards;
} }
@keyframes bgmove { @keyframes bgmove {
0% { 0% {
background-position: 0% 50%; background-position: 0% 50%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment