Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 2_login/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>Login</title>
</head>
<body>
<div class="container">
<div class="container">
<form>
<button class="btn btn-ghost">
<img src="./images/google.png" alt="">
Expand Down Expand Up @@ -59,6 +59,6 @@ <h3>Updates</h3>
web interfaces.</p>
</div>
</div>
</div>
</div>
</body>
</html>
21 changes: 14 additions & 7 deletions 2_login/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ a {
border: 20px solid #dce7ff;
width: 1000px;
box-shadow: 0 4px 5px rgba(0,0,0,0.1);
display: flex;
display: flex;
}

form {
border-right: 1px solid #ecf2ff;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
Expand Down Expand Up @@ -133,12 +133,19 @@ input:not([type="checkbox"]) {
margin: 5px 0;
}

@media(max-width: 768px) {
@media(max-width: 768px) {
.container {
flex-direction: column;
flex-direction: column;
margin-top: 100%;
}

form {
border-right: 0;
}
}
border-right: 0;
flex: 1;
}

.features {
flex: 1;
}

}