WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
पिज़्ज़ा
1522
aline
संपादक में खोलें
अपना कोड प्रकाशित करें
HTML
Copy
Document
Home
Products
Cart
Quick, fresh and delicious pizza for you.
You can’t buy happiness but you can
buy Pizza and that’s kind of the
same thing
Try our pie
Order now
The best slice at the best price.
Pizza Marinara
$12
Tomatoes
Garlic
Oregano
Extra virgin olive oil
1
Add to cart
Pizza Margherita
$10
Tomatoes
Sliced mozzarella
Basil
Extra virgin olive oil
1
Add to cart
St. Louis Pizza
$9
Tomatoes
Provel cheese
Oregano
Sweeter tomato sauce
1
Add to cart
Sicilian Pizza
$11
Tomatoes
Garlic
Oregano
Extra virgin olive oil
1
Add to cart
Chicago Pizza
$10
Tomatoes
Sliced mozzarella
Basil
Extra virgin olive oil
1
Add to cart
Spinach Pizza
$6
Tomatoes
Provel cheese
Oregano
Sweeter tomato sauce
1
Add to cart
Try our pie and give joy to your stomach with tastiest Pizza ever
See more products
Thin Crust Pizza
$12
Tomatoes
Garlic
Oregano
Extra virgin olive oil
1
Add to cart
White Clam Pie
$10
Tomatoes
Sliced mozzarella
Basil
Extra virgin olive oil
1
Add to cart
Pepperoni Pizza
$5
Tomatoes
Provel cheese
Oregano
Sweeter tomato sauce
1
Add to cart
CSS
Copy
/* Replace with your CSS Code (Leave empty if not needed) */ @import url("https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; } /* -- variables -- */ :root { --white-clr: #fffbf5; --green-clr: #72752e; --green-clr-alt: #8e9056; --orange-clr: #ffa000; --orange-clr-alt: #ffab76; --red-clr: #df3e3d; --choco-clr: #35221e; --card-bd-clr: #ece6dd; } /* -- global -- */ html { scroll-behavior: smooth; } ul, li { list-style: none; } .section-title { color: var(--green-clr); font-weight: 600; font-size: 1.4rem; margin-bottom: 1.5rem; } .container { padding: 0 0.3rem; } .choco-bg { background-color: var(--choco-clr); } .white-clr { color: var(--white-clr); } .btn { cursor: pointer; border: none; height: 2.5rem; font-size: 1.1rem; color: var(--white-clr); } .white-bd { border: thin solid var(--white-clr); } .attire-txt { color: var(--green-clr); font-family: "Amatic SC", cursive; font-weight: 400; font-size: 1.8rem; } @media screen and (min-width: 768px) { .attire-txt { font-size: 2rem; } } /* -- body -- */ body { font-family: "Source Sans Pro", sans-serif; } /* ---- hero section ----- */ .hero-section { position: relative; background-image: url(https://raw.githubusercontent.com/r-e-d-ant/pizza-store-static-v/e5e8567641f6213899149e68daff741552aad48e/assets/images/hero_img.webp); background-color: var(--choco-clr); min-height: 600px; background-position: center; background-repeat: no-repeat; background-size: cover; } @media screen and (min-height: 360px) { .hero-section { min-height: 721px; } } .hero-stuffs { display: flex; flex-direction: column; align-items: flex-start; margin-top: 2.8rem; } .hero-slogan { font-weight: 600; font-size: 2.5rem; margin-bottom: 1rem; padding: 0.3rem 0.5rem; display: inline; } /* -- */ .hero-sub-slogan-container { display: flex; flex-direction: column; align-items: flex-start; } .hero-sub-slogan { font-weight: 400; font-size: 1.5rem; padding: 0.3rem 0.5rem; margin-bottom: 0.5rem; display: inline; } /* -- */ .call-to-action-container { display: flex; align-items: center; margin-top: 2rem; } .call-to-action-container h3 { font-weight: 400; font-size: 1.1rem; } .pizza-arrow { width: 2rem; margin-left: 1.8rem; margin-right: 0.5rem; } .call-to-action-btn { background-color: var(--green-clr); width: 8rem; position: relative; transition: 200ms background; z-index: 1; } .call-to-action-btn::before { content: ""; background-color: var(--green-clr-alt); position: absolute; z-index: -1; inset: 0; transform: scaleX(0); transform-origin: right; transition: 200ms transform; } .call-to-action-btn:hover::before { transform: scaleX(1); transform-origin: left; } /* -- */ .social-medias { position: absolute; bottom: 1rem; } .social-medias .bx { cursor: pointer; color: var(--white-clr); font-size: 1.6rem; margin-right: 1rem; transition: 100ms transform; } .social-medias .bx:hover { transform: scale(1.1); } /* --------- header --------- */ .header { display: flex; justify-content: space-between; align-items: center; } .logo img { width: 90%; } .nav-items { display: flex; } .nav-item { position: relative; margin-right: 2rem; } .nav-item:last-child { margin-right: 0; } .nav-link { color: var(--white-clr); position: relative; text-decoration: none; font-size: 1.3rem; font-weight: 400; padding-bottom: 0.2rem; } .nav-link::before { content: ""; height: 0.15rem; width: 100%; background-color: var(--white-clr); position: absolute; bottom: 0; transform: scaleX(0); transition: 200ms transform; transform-origin: right; } .nav-link:hover::before { transform: scaleX(1); transform-origin: left; } /* ------------ products section ------------ */ .products-section { margin: 2rem 0; } .products { display: grid; gap: 0.2rem; row-gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); } @media screen and (min-width: 1024px) { .products { column-gap: 0; justify-content: space-between; } } .product { display: flex; flex-direction: column; } .product .image { width: 100%; border-radius: 5px 5px 0px 0px; } .lazy { background-color: #ffab76; width: 100%; } /* -- */ .info { width: 100%; border: thin solid var(--card-bd-clr); padding: 0.5rem; } .info .name-price { color: var(--green-clr); display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; } .info .name-price .name { font-weight: 400; font-size: 1.4rem; } .info .name-price .price { font-weight: 300; font-size: 1.3rem; } /* -- */ .toppings { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; width: 100%; } .topping { color: var(--white-clr); background-color: var(--orange-clr-alt); padding: 0.2rem 0.4rem; } .topping h4 { font-weight: 400; font-size: 0.8rem; } /* -- */ .actions { display: flex; flex-direction: column; } .quantity { display: flex; align-items: center; } .quantity .bx { cursor: pointer; font-size: 1.6rem; color: var(--green-clr-alt); } .qty-cont { border: thin solid var(--green-clr-alt); border-radius: 58.3333px; width: 4rem; text-align: center; margin: 0 0.5rem; } .qty-cont span { color: var(--green-clr-alt); font-size: 1.2rem; } .add-to-cart-btn { background-color: var(--green-clr-alt); height: 2.2rem; width: 100%; margin-top: 1rem; font-weight: 200; font-size: 1rem; position: relative; transition: 200ms background; z-index: 1; } .add-to-cart-btn::before { content: ""; background-color: var(--green-clr); position: absolute; z-index: -1; inset: 0; transform: scaleX(0); transform-origin: right; transition: 200ms transform; } .add-to-cart-btn:hover::before { transform: scaleX(1); transform-origin: left; } /* -- banner -- */ .home-banner { display: none; position: relative; margin: 2rem 0; } .home-banner-img { width: 100%; } .sec-call-to-action_container { position: absolute; margin-left: 9rem; margin-top: 2rem; } .sec-call-to-action-text { color: var(--white-clr); font-weight: 700; font-size: 2rem; max-width: 40rem; line-height: 3rem; letter-spacing: 0.5px; margin-bottom: 3rem; } .sec-call-to-action-btn { background-color: var(--green-clr); padding: 0 1rem; height: 3rem; position: relative; z-index: 1; } .sec-call-to-action-btn::before { content: ""; background-color: var(--green-clr-alt); position: absolute; z-index: -1; inset: 0; transform: scaleX(0); transform-origin: right; transition: 200ms transform; } .sec-call-to-action-btn:hover::before { transform: scaleX(1); transform-origin: left; } @media screen and (max-width: 1080px) { .sec-call-to-action_container { margin-left: 8rem; margin-top: 2rem; } .sec-call-to-action-text { margin-bottom: 2rem; } } @media screen and (max-width: 890px) { .sec-call-to-action_container { margin-left: 4rem; margin-top: 0.5rem; } .sec-call-to-action-text { margin-bottom: 1rem; } } /* --------------- */ .upper-footer { background-image: url(https://raw.githubusercontent.com/r-e-d-ant/pizza-store-static-v/e5e8567641f6213899149e68daff741552aad48e/assets/images/footer-img.webp); background-color: var(--choco-clr); background-position: top; background-repeat: no-repeat; background-size: cover; } .upper-footer { display: flex; align-items: flex-start; justify-content: space-between; padding-top: 1rem; } .address h5 { font-weight: 600; font-size: 1.4rem; margin-bottom: 0.5rem; } .footer-nav-items li { font-weight: 300; font-size: 1rem; margin-bottom: 0.5rem; } .footer-social-medias { margin: 1rem 0; } .footer-social-medias .bx { cursor: pointer; color: var(--white-clr); font-size: 1.3rem; margin-right: 1rem; transition: 100ms transform; } .footer-social-medias .bx:hover { transform: scale(1.1); } /* -- */ .lower-footer { background-color: #2e2c2a; font-weight: 300; font-size: 0.9rem; display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; padding-bottom: 0.5rem; } .copyright { margin-bottom: 0.5rem; } .developer a { color: var(--green-clr-alt); } .developer a:hover { color: var(--card-bd-clr); } /* -- responsiveness breakpoints -- */ /* tablet */ @media (min-width: 600px) and (max-width: 768px) { .products { grid-template-columns: repeat(auto-fit, minmax(auto, 18rem)); } .product .image { width: 18rem; } .lazy { width: 18rem; } .info { width: 18rem; } } /* notebooks */ @media screen and (min-width: 768px) { .products { grid-template-columns: repeat(auto-fit, minmax(auto, 20rem)); } .product .image { width: 20rem; } .lazy { width: 20rem; } .info { width: 20rem; } .toppings { width: 15rem; } .actions { flex-direction: row; justify-content: space-between; } .add-to-cart-btn { width: 6rem; margin-top: 0; } /* ------ */ .home-banner { display: block; } } /* -- responsiveness breakpoints -- */ /* mobile */ @media (min-width: 320px) and (max-width: 480px) { .container { padding: 0 0.5rem; } .hero-slogan { font-size: 2.3rem; } .hero-sub-slogan { font-size: 1.3rem; } } /* tablet */ @media (min-width: 480px) and (max-width: 768px) { .container { padding: 0 1rem; } } /* notebooks */ @media (min-width: 768px) and (max-width: 1024px) { .container { padding: 0 2rem; } } /* large screens */ @media (min-width: 1024px) and (max-width: 1200px) { .container { padding: 0 3rem; } } /* extra large screens */ @media (min-width: 1200px) and (max-width: 1920px) { .container { padding: 0 4rem; } } /* greater */ @media screen and (min-width: 1920px) { .container { padding: 0 5rem; } }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */