如何通过优化HTML页面demo?

摘要:代码: <!-- * @Description: 一个博客页面布局,加上一些CSS和JS样式 * @Author: zhangyh * @Date: 2024-06-29 15:25:16 * @LastEditTim
代码: <!-- * @Description: 一个博客页面布局,加上一些CSS和JS样式 * @Author: zhangyh * @Date: 2024-06-29 15:25:16 * @LastEditTime: 2024-06-29 23:06:12 * @LastEditors: zhangyh * Copyright (c) 2024 by zhangyinghui181217@163.com, All Rights Reserved. --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Demo</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-7ymO4nGrkm372HoSbq1OY2DP4pEZnMiA+E0F3zPr+JQQtQ82gQ1HPY3QIVtztVua" crossorigin="anonymous"></script> <style> .card { margin-top: 20px; margin-bottom: 20px; /* box-shadow: 0 .1rem 0.1rem rgba(0,0,0,.15)!important; */ box-shadow: 0 0 .6rem 0 #d0d0d0; /* 卡片阴影 */ } .navbar { box-shadow: 0 0 .6rem 0 #d0d0d0 /* 导航阴影 */ } .card .card-header { font-size: 12px; padding-left: 15px; padding-top: 5px; padding-bottom: 5px; } .card .card-body p, ul, li { font-size: 13px; } .card .card-body { padding: 15px; } .navbar .container-md .form-inline input { font-size: 15px; } .tagcloud { font-weight: 100; padding-top: 0; padding-bottom: 0; font-size: 12px; } .info_
阅读全文