body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding-top: 20px; color: #333; } .hide { display: none; } .container { box-sizing: border-box; overflow: hidden; width: 100%; max-width: 600px; margin: 0 auto; padding: 20px; background-color: #fff; border: 1px solid #ccc; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); border-radius: 5px; } fieldset { border: 1px solid #ddd; padding: 10px; margin-bottom: 5px; } legend { font-weight: bold; padding: 0 10px; } label { display: block; margin-bottom: 5px; } input[type="text"], iframe, .content { box-sizing: border-box; max-width: 100%; width: 100%; padding: 8px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 3px; } a, a:visited, button { align-items: center; text-decoration: none; padding: 8px 15px; margin-right: 5px; background-color: #007BFF; color: #fff; border: none; border-radius: 3px; cursor: pointer; } a:hover, a:visited:hover, button:hover { background-color: #0056b3; } button:active { background-color: #0067b8; } @media (max-width: 600px) { .container { width: 100%; height: 100%; border: none; border-radius: 0; box-shadow: none; } } /* 加载进度条 */ .loading-bar { position: fixed; top: 0; left: 0; z-index: 99999; opacity: 0; transition: opacity .4s linear; .progress { position: fixed; top: 0; left: 0; width: 0; height: 4px; background-color: #007bff; box-shadow: 0 0 10px rgba(119, 182, 255, .7); } &.loading { opacity: 1; transition: none; .progress { transition: width .4s ease; } } } /* 加载进度条结束 */