网页搜索 <
style>
body {
background-
color:#f8f8f8;
}
.butto {
margin: 0 10px;
padding: 1px 2px;
background-color:#333333;
border: none;
color: #fff;
font-size: 15px;
cursor: pointer;
width:15%; /* 设置按钮的宽度为150像素 */
height: 37px; /* 设置按钮的高度为50像素 */
border-radius: 100px;
background-color=#FFFFFF;
}
.button1{
width:15%; /* 设置按钮的宽度为150像素 */
height: 37px; /* 设置按钮的高度为50像素 */
border-radius: 100px;
background-color: #f8f8f8;
color: black;
border-color:#808080;
box-shadow: 0 -1px 4px rgba(100, 100, 0.1, 0.2);
}
#content-frame {
width: 105%;
height: 90vh; /* 将88vh修改为更大的值,如90vh或100vh */
margin: 0 auto; /* Add this line to center align the div horizontally */
overflow-y: scroll;
background-color: #f8f8f8;
color: black;
padding: 15px;
box-sizing: border-box;
margin-left: -10px;
/* 添加动画效果 */
animation-name: fadeIn;
animation-duration: 1s;
animation-timing-function: ease-in-out;
border-radius: 60px;
}
/* 添加淡入动画的关键帧 */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.container {
position: fixed;
bottom: 0;
width: 100%;
height: 50px;
background-color: #333333;
display: flex;
justify-content:center;
margin-left: -8px;
align-items: center;
}
/* 修改搜索框输入框的宽度 */
#search-input {
width:65%;
height: 30px;
border-radius: 100px;
border-color:#333;
}