JSFiddle - React, Tailwind, and code Playground
by thegamechangerpro
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Verification</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.login-container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center; /* Center align the contents */
width: 85%; /* Set the width to 85% of the screen */
max-width: 400px; /* Add a maximum width to maintain readability */
height: 75vh; /* Set the height to 75% of the window */
}
.logo {
max-width: 100px; /* Adjust the maximum width of your logo */
margin-bottom: 20px; /* Add some margin below the logo */
}
label {
text-align: left; /* Left align the labels */
padding: 2px;
font-weight: bold;
text-decoration: underline;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin-bottom: 1px;
margin-top: 8px;
width: 100%; /* Adjust width as needed */
}
input {
width: 100%; /* Adjust width as needed */
padding: 6px;
margin-bottom: 16px;
box-sizing: border-box;
}
button {
background-color: #4caf50;
color: #fff;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%; /* Set the button width to 100% */
}
/* Modal styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place...