| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Pizza Detail UI</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #F7F7F7; |
| } |
| |
| |
| .status-bar { |
| height: 120px; |
| padding: 0 36px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: #555; |
| font-size: 40px; |
| letter-spacing: 1px; |
| } |
| .status-icons { |
| display: flex; |
| align-items: center; |
| gap: 26px; |
| } |
| .dot { |
| width: 14px; height: 14px; background: #575757; border-radius: 50%; |
| display: inline-block; margin: 0 6px; |
| } |
| .icon-signal, .icon-battery { |
| width: 46px; height: 46px; |
| } |
| .icon-signal svg, .icon-battery svg { width: 100%; height: 100%; } |
| |
| |
| .hero { |
| position: relative; |
| width: 100%; |
| height: 660px; |
| } |
| .hero .img { |
| width: 100%; height: 100%; |
| background: #E0E0E0; |
| border-bottom: 1px solid #BDBDBD; |
| display: flex; align-items: center; justify-content: center; |
| color: #757575; |
| font-size: 42px; |
| } |
| .back-btn { |
| position: absolute; |
| left: 36px; |
| top: 220px; |
| width: 92px; height: 92px; |
| background: #FFFFFF; |
| border-radius: 50%; |
| box-shadow: 0 6px 16px rgba(0,0,0,0.25); |
| display: flex; align-items: center; justify-content: center; |
| } |
| .back-btn svg { width: 48px; height: 48px; } |
| |
| |
| .card { |
| position: absolute; |
| left: 0; |
| right: 0; |
| top: 560px; |
| background: #FFFFFF; |
| border-top-left-radius: 42px; |
| border-top-right-radius: 42px; |
| padding: 40px 40px 260px 40px; |
| box-shadow: 0 -4px 16px rgba(0,0,0,0.06); |
| } |
| .title { |
| font-size: 58px; font-weight: 700; color: #2B2B2B; margin-bottom: 20px; |
| } |
| .desc { |
| font-size: 34px; line-height: 1.5; color: #666; margin-bottom: 40px; |
| } |
| .price-row { |
| display: flex; align-items: baseline; gap: 24px; margin-bottom: 30px; |
| } |
| .price-main { font-size: 94px; color: #D32F2F; font-weight: 700; } |
| .old-price { font-size: 44px; color: #9E9E9E; text-decoration: line-through; } |
| |
| |
| .option-list { |
| margin-top: 10px; |
| border-top: 1px solid #E0E0E0; |
| } |
| .option { |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 26px 8px; |
| border-bottom: 1px solid #E0E0E0; |
| } |
| .opt-left { display: flex; align-items: center; gap: 24px; } |
| .radio { |
| width: 52px; height: 52px; border-radius: 50%; |
| border: 4px solid #D32F2F; position: relative; |
| } |
| .radio.selected:after { |
| content: ""; position: absolute; left: 50%; top: 50%; |
| width: 24px; height: 24px; background: #D32F2F; border-radius: 50%; |
| transform: translate(-50%, -50%); |
| } |
| .opt-label { font-size: 42px; color: #333; } |
| .opt-price { font-size: 40px; color: #333; display: flex; align-items: center; gap: 22px; } |
| .opt-price .old { color: #9E9E9E; text-decoration: line-through; } |
| |
| |
| .crust-card { |
| margin-top: 36px; |
| background: #FDECEC; |
| border: 4px solid #D0D0D0; |
| border-radius: 24px; |
| padding: 30px 30px 20px 30px; |
| } |
| .crust-title { |
| font-size: 36px; color: #333; margin-bottom: 22px; |
| } |
| .crust-title .req { color: #D32F2F; } |
| .crust-option { |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 22px 6px; |
| border-bottom: 1px solid #E0E0E0; |
| } |
| .crust-option:last-child { border-bottom: none; } |
| .crust-left { display: flex; align-items: center; gap: 24px; } |
| .crust-label { font-size: 40px; color: #333; } |
| .crust-price { font-size: 38px; color: #222; } |
| |
| |
| .footer-btn { |
| position: absolute; |
| left: 60px; right: 60px; |
| bottom: 180px; |
| height: 120px; |
| background: #BDBDBD; |
| border-radius: 30px; |
| display: flex; align-items: center; justify-content: center; |
| color: #FFFFFF; |
| font-size: 46px; font-weight: 600; |
| box-shadow: 0 8px 20px rgba(0,0,0,0.12); |
| } |
| |
| |
| .gesture { |
| position: absolute; |
| left: 0; right: 0; bottom: 0; |
| height: 140px; background: #000; |
| display: flex; align-items: center; justify-content: center; |
| } |
| .home-indicator { |
| width: 240px; height: 16px; background: #CFCFCF; border-radius: 8px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>8:48 <span class="dot"></span></div> |
| <div class="status-icons"> |
| <div class="icon-signal"> |
| <svg viewBox="0 0 24 24"><path d="M2 20h2v-6H2v6zm5 0h2v-9H7v9zm5 0h2v-12h-2v12zm5 0h2V4h-2v16z" fill="#555"/></svg> |
| </div> |
| <div class="icon-signal"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l4 8H8l4-8zm0 20a6 6 0 100-12 6 6 0 000 12z" fill="#777"/></svg> |
| </div> |
| <div class="icon-battery"> |
| <svg viewBox="0 0 32 16"> |
| <rect x="1" y="3" width="28" height="10" rx="2" ry="2" fill="none" stroke="#555" stroke-width="2"/> |
| <rect x="30" y="6" width="2" height="4" fill="#555"/> |
| <rect x="3" y="5" width="20" height="6" fill="#555"/> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="hero"> |
| <div class="img">[IMG: Pizza Photo]</div> |
| <div class="back-btn"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M15.5 19l-7-7 7-7" stroke="#000" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="card"> |
| <div class="title">Miami Beast</div> |
| <div class="desc">Made in Garlic Mayo sauce, Chicken Fajita, Green Pepper, Green Jalapeno, Onions & Cheese</div> |
|
|
| <div class="price-row"> |
| <div class="price-main">Rs. 1749</div> |
| <div class="old-price">Rs. 2499</div> |
| </div> |
|
|
| <div class="option-list"> |
| <div class="option"> |
| <div class="opt-left"> |
| <div class="radio"></div> |
| <div class="opt-label">Small Pizza</div> |
| </div> |
| <div class="opt-price"><span class="old">Rs. 749</span><span>Rs. 547</span></div> |
| </div> |
|
|
| <div class="option"> |
| <div class="opt-left"> |
| <div class="radio"></div> |
| <div class="opt-label">Regular Pizza</div> |
| </div> |
| <div class="opt-price"><span class="old">Rs. 1799</span><span>Rs. 1169</span></div> |
| </div> |
|
|
| <div class="option"> |
| <div class="opt-left"> |
| <div class="radio selected"></div> |
| <div class="opt-label">Large Pizza</div> |
| </div> |
| <div class="opt-price"><span class="old">Rs. 2499</span><span>Rs. 1749</span></div> |
| </div> |
|
|
| <div class="option"> |
| <div class="opt-left"> |
| <div class="radio"></div> |
| <div class="opt-label">Jumbo Pizza</div> |
| </div> |
| <div class="opt-price"><span class="old">Rs. 3599</span><span>Rs. 2699</span></div> |
| </div> |
| </div> |
|
|
| <div class="crust-card"> |
| <div class="crust-title">Choose Your Crust For Large Pizza <span class="req">*</span><span class="req">(required)</span></div> |
|
|
| <div class="crust-option"> |
| <div class="crust-left"> |
| <div class="radio"></div> |
| <div class="crust-label">Deep Pan</div> |
| </div> |
| <div class="crust-price">Rs. 200</div> |
| </div> |
|
|
| <div class="crust-option"> |
| <div class="crust-left"> |
| <div class="radio"></div> |
| <div class="crust-label">Thin Crust</div> |
| </div> |
| <div class="crust-price">Rs. 200</div> |
| </div> |
|
|
| <div class="crust-option"> |
| <div class="crust-left"> |
| <div class="radio"></div> |
| <div class="crust-label">Stuffed Crust</div> |
| </div> |
| <div class="crust-price">Rs. 200</div> |
| </div> |
|
|
| <div class="crust-option"> |
| <div class="crust-left"> |
| <div class="radio"></div> |
| <div class="crust-label">Kabab Popper</div> |
| </div> |
| <div class="crust-price">Rs. 200</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="footer-btn">Add to Cart - Rs. 1749</div> |
|
|
| |
| <div class="gesture"> |
| <div class="home-indicator"></div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |