<!DOCTYPE html><html><head> <title>购物车</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } h1 { text-align: center; margin-bottom: 20px; } table { width: 100%; border-collapse: collapse; margin-bottom: 20px; } th, td { padding: 10px; text-align: center; border: 1px solid #ccc; } tr:nth-child(even) { background-color: #f2f2f2; } .fa { color: #bfbfbf; cursor: pointer; margin-right: 10px; } .fa:hover { color: #ff6666; } .total { text-align: right; margin-bottom: 20px; } .total span { font-weight: bold; font-size: 20px; } .btn { background-color: #ff6666; color: #fff; pad
GPT自己写的购物车网页前端代码
最新推荐文章于 2024-07-30 23:06:43 发布