Having trouble aligning the checkbox label with the edge of the text area in my login form code. It always ends up on the right side, outside of the div container when inspected.
I've attempted setting a left value for the label, but it causes issues when the screen size changes.
Desired layout:
https://i.sstatic.net/9xSMH.png
Link to JSFiddle for reference
function showHidePassword() {
var x = document.getElementById("pass");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
<!--CSS CODE HERE-->
<form>
<!-- FORM HTML HERE -->
</form>