mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-18 14:39:50 +00:00
make background image fixed
This commit is contained in:
parent
796eacb802
commit
871949b567
3 changed files with 21 additions and 12 deletions
|
@ -8,7 +8,7 @@ function LoginAndSignUpPage() {
|
|||
};
|
||||
const [signup, setSignup] = useState(false);
|
||||
return (
|
||||
<div className="login-display">
|
||||
<div className="background">
|
||||
<div className="login-login">
|
||||
<div className="login-part">
|
||||
<div className={signup ? "signup-image" : "login-image"}></div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.login-display{
|
||||
.background{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh; /* Full viewport height */
|
||||
|
@ -6,7 +6,7 @@
|
|||
background: var(--gradient-blue-backround-mobile);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.login-text{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue