Add responsive styles to index.html

This commit is contained in:
Aykhan Shahsuvarov 2024-02-01 15:47:22 +04:00
parent 61bbc01fd7
commit 7a771dba79

View File

@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Oh My URL</title>
<style>
body {
@ -60,6 +61,30 @@
button:active {
transform: scale(0.98);
}
/* Responsive styles */
@media screen and (max-width: 768px) {
.container {
margin: 15px 10px;
}
button {
padding: 10px 15px;
width: 33%;
margin: 0 auto;
font-size: medium;
border: none;
border-radius: 3px;
background-color: #007bff;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="url"] {
width: calc(100% - 16px);
}
}
</style>
</head>
<body>