我决定要用自己开发的搜索了

查看 7|回复 0
作者:笔管   
我让ai写了一个,记得那时候满大街都是这种源码。。哈哈



20250925205145592.jpg (14.92 KB, 下载次数: 0)
下载附件
保存到相册
8分钟前 上传

[ol]
  •   
  •   
  •   一起搜
  •   
  •     body {
  •       font-family: "Microsoft YaHei", sans-serif;
  •       background-color: #f5f5f5;
  •       margin: 0;
  •       padding: 0;
  •       display: flex;
  •       flex-direction: column;
  •       align-items: center;
  •       justify-content: center;
  •       min-height: 100vh;
  •     }
  •     .container {
  •       background: white;
  •       padding: 30px;
  •       border-radius: 12px;
  •       box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  •       width: 90%;
  •       max-width: 600px;
  •       text-align: center;
  •     }
  •     h1 {
  •       font-size: 32px;
  •       color: #2c3e50;
  •       margin-bottom: 20px;
  •     }
  •     #searchInput {
  •       width: 100%;
  •       padding: 12px 20px;
  •       font-size: 16px;
  •       border: 1px solid #ccc;
  •       border-radius: 24px;
  •       box-sizing: border-box;
  •       outline: none;
  •       margin-bottom: 20px;
  •     }
  •     .engine-list {
  •       display: flex;
  •       flex-wrap: wrap;
  •       justify-content: center;
  •       gap: 12px;
  •       margin-top: 10px;
  •     }
  •     .engine-btn {
  •       padding: 8px 16px;
  •       font-size: 14px;
  •       border: 1px solid #ddd;
  •       background: #f9f9f9;
  •       border-radius: 20px;
  •       cursor: pointer;
  •       transition: all 0.2s;
  •     }
  •     .engine-btn:hover,
  •     .engine-btn.active {
  •       background: #e0e0e0;
  •       border-color: #bbb;
  •     }
  •     #searchButton {
  •       margin-top: 15px;
  •       padding: 10px 24px;
  •       font-size: 16px;
  •       background: #4285f4;
  •       color: white;
  •       border: none;
  •       border-radius: 24px;
  •       cursor: pointer;
  •       transition: background 0.3s;
  •     }
  •     #searchButton:hover {
  •       background: #3367d6;
  •     }
  •   
  •   
  •     一起搜
  •    
  •    
  •       百度
  •       搜狗
  •       必应
  •       谷歌
  •    
  •     搜索
  •   
  •   
  • [/ol]复制代码

    请输入, 要用

  • 您需要登录后才可以回帖 登录 | 立即注册

    返回顶部