After completing the design of a mobile app interface with dimensions 750w by 1334H, I encountered an issue where it appears too large on the app testing screen.
I am seeking a way to automatically adjust the design to fit all screens without compromising resolution. Below is the CSS code:
.username {
background: #397ba5;
border: none;
width: 286;
height: 82;
color: white;
font-size: 24;
}
.password {
background: #397ba5;
border: none;
width: 283;
height: 81;
color: white;
font-size: 24;
}
.memberlogin {
background-color: #fc4988;
border: none;
width: 472;
height: 85;
color: white;
font-size: 40;
font: BOLD;
}
<html>
<head>
<title>Untitled-1</title>
<link rel="stylesheet" href="http://infinityfreight.net/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (Untitled-1.psd) -->
<table id="Table_01" width="640" height="1136" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="7">
<img src="http://infinityfreight.net/images/Untitled-1_01.gif" width="750" height="508" alt=""></td>
</tr>
<tr>
<td colspan="3" rowspan="4">
<img src="http://infinityfreight.net/images/Untitled-1_02.gif" width="324" height="264" alt=""></td>
<td colspan="3">
<input type=text class="username"></td>
<td rowspan="8">
<img src="http://infinityfreight.net/images/Untitled-1_04.gif" width="140" height="826" alt=""></td>
</tr>
...