#random-image-container {
max-width: 100%;
margin: 0 auto;
text-align: center;
min-height: 200px; /* 避免加载时容器塌陷 */
display: flex;
justify-content: center;
align-items: center;
}
#random-image-container img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#refresh-btn {
margin-top: 10px;
padding: 8px 16px;
cursor: pointer;
}
暂无评论