From d9830678372e7e7a75dbaa937638dc9d7e9ae57b Mon Sep 17 00:00:00 2001 From: "CSSC-WORK\\murmur" Date: Wed, 4 Dec 2024 11:08:24 +0800 Subject: [PATCH] update tips --- inputbox_with_tips.html | 78 ++++++++++++++++++++++++++++++++++------- 1 file changed, 65 insertions(+), 13 deletions(-) diff --git a/inputbox_with_tips.html b/inputbox_with_tips.html index 300470a..30ad7cf 100644 --- a/inputbox_with_tips.html +++ b/inputbox_with_tips.html @@ -13,8 +13,10 @@ input { width: 200px; - padding: 10px; + padding: 8px; font-size: 16px; + font-weight: bold; + font-family: 'Consolas'; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px; @@ -25,11 +27,26 @@ color: black; } + /* 按钮样式 */ + button { + padding: 10px 15px; + font-size: 16px; + border: none; + border-radius: 5px; + background-color: #007bff; + color: white; + cursor: pointer; + margin-right: 10px; + margin-bottom: 10px; + transition: background-color 0.3s; + } + /* 提示数字样式 */ .number-tip { position: absolute; font-size: 36px; font-weight: bold; + font-family: 'Consolas'; color: #333; background: rgba(255, 255, 255, 0.9); border: 1px solid #ccc; @@ -64,19 +81,57 @@ background: rgba(255, 200, 200, 0.9); border-color: #ff0000; } + + .form-group { + margin-bottom: 1rem; + } + + label { + /* display: block; */ + margin-bottom: 0.5rem; + } - - - +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + +