黄金价格走势 | 最新黄金价格查询 - 黄金行情
<!DOCTYPE html>
<html>
<head>
    <title>黄金价格走势 | 最新黄金价格查询 - 黄金行情</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
    <style>
        /* Add styles for the website */
        .navbar {
            margin-bottom: 0;
            background-color: #ffcc33;
            border: 0;
            font-size: 18px !important;
            letter-spacing: 4px;
            opacity: 0.9;
        }
<pre><code>    .navbar-brand {
        font-size: 30px;
        font-weight: bold;
        margin-left: 50px;
    }
    .navbar-brand:hover {
        color: #000000;
    }
    .navbar-nav li a:hover {
        color: #000000 !important;
    }
    .jumbotron {
        background-image: url('gold.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        height: 500px;
        text-align: center;
        color: white;
        font-size: 40px;
        font-weight: bold;
        padding-top: 200px;
        opacity: 0.9;
    }
    .container-fluid {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    h2 {
        font-size: 30px;
        font-weight: bold;
        margin-top: 50px;
        margin-bottom: 30px;
        text-align: center;
    }
    .table {
        font-size: 20px;
    }
    .table th {
        background-color: #ffcc33;
        color: #000000;
        font-weight: bold;
        text-align: center;
    }
    .table td {
        text-align: center;
        vertical-align: middle;
    }
    .btn {
        background-color: #ffcc33;
        border: none;
        color: #000000;
        font-size: 20px;
        font-weight: bold;
        margin-top: 30px;
    }
    .btn:hover {
        background-color: #000000;
        color: #ffffff;
    }
    footer {
        background-color: #ffcc33;
        color: #000000;
        font-size: 18px;
        text-align: center;
        padding: 10px;
        opacity: 0.9;
    }
</style>
</code></pre>
</head>
<body>
<pre><code><!-- Add a navigation bar -->
<nav class="navbar navbar-expand-lg navbar-light">
    <a class="navbar-brand" href="#">黄金行情</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav ml-auto">
            <li class="nav-item active">
                <a class="nav-link" href="#">首页</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">行情分析</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">黄金投资</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">关于我们</a>
            </li>
        </ul>
    </div>
</nav>
<!-- Add a jumbotron with a background image -->
<div class="jumbotron">
    <h1>最新黄金价格走势</h1>
</div>
<!-- Add a container with the latest gold price table -->
<div class="container-fluid">
    <h2>最新黄金价格</h2>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>日期</th>
                <th>黄金价格(美元/盎司)</th>
                <th>涨跌幅</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>2021-10-01</td>
                <td>1750.00</td>
                <td>+1.2%</td>
            </tr>
            <tr>
                <td>2021-09-30</td>
                <td>1730.00</td>
                <td>-0.5%</td>
            </tr>
            <tr>
                <td>2021-09-29</td>
                <td>1740.00</td>
                <td>+0.7%</td>
            </tr>
            <tr>
                <td>2021-09-28</td>
                <td>1728.00</td>
                <td>-0.2%</td>
            </tr>
            <tr>
                <td>2021-09-27</td>
                <td>1732.00</td>
                <td>+0.3%</td>
            </tr>
        </tbody>
    </table>
    <button class="btn">查看更多</button>
</div>
<!-- Add a footer -->
<footer>
    <p>版权所有 &copy; 2021 黄金行情</p>
</footer>
</code></pre>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/lLYL 著作权归作者所有。请勿转载和采集!