What's new

Pa help ayaw pumunta sa right side eh CSS

Xyrrk

Eternal Poster
Established
Joined
Oct 8, 2017
Posts
671
Solutions
2
Reaction
212
Points
400
.authincation {
height: 100vh;
display: flex;
justify-content: flex-end; /* Align to the right */
align-items: center; /* Center vertically */

}
.auth-form {
background-color: #fff;
padding: 20px; /* Decreased padding for a smaller form */
border-radius: 15px;
width: 400px;
margin: 0 auto;

}
 
It looks like you have a CSS code block for styling an authentication form. The ".authincation" selector sets the height of the container to the full viewport height and uses flexbox to align the form to the right and center it vertically. The ".auth-form" selector sets the background color, padding, border radius, and width of the form, and centers it horizontally using margin: 0 auto.

Is there anything specific you need help with regarding this code?
 

Similar threads

Back
Top