feat(样式): 添加移动端适配样式文件并引入
添加 mobile.css 文件实现移动端样式优化,并在 index.php 中通过媒体查询引入 主要针对屏幕宽度小于768px的设备进行布局调整,包括表单元素、按钮、容器等组件的响应式设计
This commit is contained in:
@@ -105,6 +105,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>内容投稿系统</title>
|
||||
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="mobile.css" media="only screen and (max-width: 768px)">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user