mirror of
https://github.com/Dichgrem/Vue.git
synced 2025-12-17 14:11:58 -05:00
refactor:view_in_phone
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
|
||||||
<title>todos</title>
|
<title>todos</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -70,11 +70,13 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
#app {
|
#app {
|
||||||
width: 600px;
|
width: 100%;
|
||||||
margin: 50px auto;
|
max-width: 600px;
|
||||||
padding: 20px;
|
margin: 20px auto;
|
||||||
|
padding: 15px;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background: white;
|
background: white;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -20,14 +20,20 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 90%;
|
width: 100%;
|
||||||
max-width: 500px;
|
max-width: 400px;
|
||||||
|
margin: 0 auto;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border: 1px solid #ddd;
|
border: 2px solid #409eff;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: 0.3s;
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-wrapper {
|
.input-wrapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user