使用Bootstrap中的.modal-sm类来设置宽度较小的小模态。
您可以尝试运行以下代码来实现.modal-sm类-
Bootstrap Example Examination Result × Warning If JavaScript isn't enabled in your web browser, then you may not be able to see the result.
If JavaScript isn't enabled in your web browser, then you may not be able to see the result.