I have a screenshot below that needs to be recreated using HTML/CSS. This design should be consistent in both desktop and mobile views.
https://i.stack.imgur.com/cnfHt.png
Currently, I have managed to replicate this in a JSFiddle which looks good on desktop, but there is some white space on the right in mobile view.
I believe adjustments need to be made in the following CSS code, but I'm not certain if this class is the correct one that requires modification.
.login-page .form .login-form .add-winner {
display: block;
margin-left: auto;
margin-right: auto;
border: 1px solid #1173B7;
background-color: white;
color: #1173B7;
font-size: 14px;
width: 25%;
font-weight: bold;
font-family: "Open Sans";
outline: 0;
border-radius: 20px;
padding: 10px;
cursor: pointer;
margin-bottom: 6%;
}
.login-page .form .login-form .save {
display: block;
margin-left: auto;
margin-right: auto;
background-color: #C4C4C4;
border: 1px;
color: white;
font-size: 14px;
width: 35%;
font-weight: bold;
font-family: "Open Sans";
border-radius: 20px;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
cursor: pointer;
margin-bottom: 6%;
}
Issue:
I am unsure about the necessary CSS modifications in the JSFiddle to ensure the consistency of the design across both mobile and desktop views.
Currently, there is extra space visible at the right side of the layout on mobile devices.