fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. }
  14. }
Success #stdin #stdout 0.09s 54668KB
stdin
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>溫柔除毛|奶茶系美肌工作室</title>

  <style>
    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Noto Sans TC", sans-serif;
      background-color: #FBF6F0;
      color: #4A3B2C;
      letter-spacing: 0.5px;
    }

    /* 首圖區 */
    .hero {
      background: linear-gradient(135deg, #EADDCB, #D8BFA6);
      text-align: center;
      padding: 100px 20px 120px;
      border-bottom-left-radius: 50px;
      border-bottom-right-radius: 50px;
    }

    .hero h1 {
      font-size: 2.6rem;
      margin-bottom: 10px;
      letter-spacing: 3px;
    }

    .hero p {
      font-size: 1.1rem;
      margin-bottom: 40px;
      opacity: 0.9;
    }

    .btn {
      background: #A67C52;
      color: #fff;
      padding: 16px 36px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    /* 區塊通用 */
    .section {
      max-width: 1000px;
      margin: auto;
      padding: 80px 20px;
    }

    .section-title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 50px;
      letter-spacing: 2px;
    }

    /* 特色 */
    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .feature-card {
      background: #FFF;
      padding: 35px 25px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    /* 價目 */
    .price-list {
      display: grid;
      gap: 18px;
    }

    .price-item {
      background: #FFF;
      padding: 25px 30px;
      border-radius: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .price {
      color: #A67C52;
      font-weight: bold;
      font-size: 1.1rem;
    }

    /* 預約區 */
    .booking {
      background: linear-gradient(135deg, #EADDCB, #D8BFA6);
      border-radius: 40px 40px 0 0;
      text-align: center;
      padding: 100px 20px;
      margin-top: 40px;
    }

    /* 表單 */
    .form-box {
      max-width: 500px;
      margin: 40px auto 0;
      background: rgba(255,255,255,0.9);
      padding: 35px 30px;
      border-radius: 25px;
    }

    input, textarea {
      width: 100%;
      padding: 15px;
      border: none;
      border-radius: 12px;
      margin-bottom: 15px;
      font-size: 1rem;
      background: #F7F1EB;
    }

    button {
      width: 100%;
      padding: 15px;
      font-size: 1rem;
      background: #A67C52;
      color: #fff;
      border: none;
      border-radius: 50px;
      cursor: pointer;
    }

    footer {
      text-align: center;
      font-size: 0.9rem;
      padding: 40px 15px;
      background: #CBB089;
      color: #fff;
    }

  </style>
</head>

<body>

  <!-- 首圖 -->
  <section class="hero">
    <h1>奶茶系溫柔除毛</h1>
    <p>為你打造細緻無瑕的柔嫩肌膚</p>
    <a href="#booking" class="btn">立即預約</a>
  </section>

  <!-- 特色 -->
  <section class="section">
    <div class="section-title">我們的優勢</div>

    <div class="features">
      <div class="feature-card">🌿 溫和不刺激技術</div>
      <div class="feature-card">🧴 敏感肌專用流程</div>
      <div class="feature-card">✨ 私密安全一對一</div>
    </div>
  </section>

  <!-- 價目 -->
  <section class="section">
    <div class="section-title">服務價目表</div>

    <div class="price-list">
      <div class="price-item">
        <span>腋下除毛</span>
        <span class="price">NT$299</span>
      </div>

      <div class="price-item">
        <span>手部除毛</span>
        <span class="price">NT$499</span>
      </div>

      <div class="price-item">
        <span>腿部除毛</span>
        <span class="price">NT$799</span>
      </div>
    </div>
  </section>

  <!-- 預約 -->
  <section class="booking" id="booking">
    <h2>預約諮詢</h2>
    <p>留下資料,我們會盡快聯絡你</p>

    <div class="form-box">
      <input type="text" placeholder="您的姓名">
      <input type="tel" placeholder="手機號碼">
      <textarea rows="4" placeholder="想預約的服務項目"></textarea>
      <button>送出預約</button>
    </div>
  </section>

  <footer>
    © 2025 奶茶系美肌工作室|預約制
  </footer>

</body>
</html>
stdout
Standard output is empty