Beautify code on Product Page

This commit is contained in:
Moe Poi ~ 2021-09-26 23:21:23 +07:00
parent fddbbb710f
commit 2e43d95cda

View file

@ -1,11 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="theme-color" content="#2f0001">
<link href="assets/favicon.webp" rel="shortcut icon" type="image/png"/>
<link href="assets/favicon.webp" rel="shortcut icon" type="image/png" />
<title>Product</title>
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" rel="stylesheet">
@ -58,38 +59,38 @@
border-radius: 16px;
}
.button-bag{
.button-bag {
color: white;
background-color: darkred;
border-color: darkred;
border-radius: 100px;
}
.button-bag:hover{
.button-bag:hover {
background-color: red;
border-color: red;
}
.button-checkout_1{
.button-checkout_1 {
color: white;
background-color: darkred;
border-color: darkred;
border-radius: 100px;
}
.button-checkout_2{
.button-checkout_2 {
color: white;
background-color: green;
border-color: green;
border-radius: 100px;
}
.button-checkout_1:hover{
.button-checkout_1:hover {
background-color: red;
border-color: red;
}
.button-checkout_2:hover{
.button-checkout_2:hover {
background-color: #0af211;
border-color: #0af211;
}
@ -258,11 +259,10 @@
</head>
<body class="bg-color">
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<a class="navbar-brand" href="#">Product</a>
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler"
data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
@ -282,16 +282,19 @@
</ul>
<span class="navbar-nav my-2 my-lg-0 text-white">
<div class="my-4">
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3"
type="button">Login</button></a>
</div>
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
</span>
</div>
</nav>
</nav>
<div class="card">
<div class="card">
<div class="product">
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp" style="width: 400px; height: auto;"/>
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp"
style="width: 400px; height: auto;" />
<div class="description">
<div style="margin-left: 20px;">
<h1 class="titledes">Fashione Shoes White</h1>
@ -300,9 +303,11 @@
<p class="card-body">
Bahan MeshReady Size 39-43 Silahkan order Sesuai dengan variasi yang diinginkan! Tidak menerima
perubahan Warna dan size
lewat Chat!!! Toko Pandu Store menjual Berbagai Macam Perlengkapan dan Keperluan Anda sehari-hari!
lewat Chat!!! Toko Pandu Store menjual Berbagai Macam Perlengkapan dan Keperluan Anda
sehari-hari!
Silahkan Kunjungi Toko
kami Pandu Store untuk mengetahui apa saja barang yang kami Jual. Kebanyakan Barang yang Kami jual
kami Pandu Store untuk mengetahui apa saja barang yang kami Jual. Kebanyakan Barang yang Kami
jual
adalah Barang hasil Produksi
sendiri dengan mengutamakan Kualitas dan kenyamanan saat digunakan Pembeli! Kesesuaian Foto 90%
Membeli = Sudah Membaca informasi
@ -325,12 +330,13 @@
<div class="modal" id="myModal">
<div class="modal-content" style="background-color: #212226; border-color: #212226; color: white">
<div class="modal-content"
style="background-color: #212226; border-color: #212226; color: white">
<span class="close close-posisition">&times;</span>
<h2 class="title"><b>SUCCESSFULLY ADDED TO BAG</b></h2>
<div class="konten">
<img alt="placeholder image" class="img-fluid lazyload" height="200px" src="assets/Product_1.webp"
width="200px">
<img alt="placeholder image" class="img-fluid lazyload" height="200px"
src="assets/Product_1.webp" width="200px">
<div class="bodymodal" style="padding-left: 20px; padding-right: 20px;">
<h3 class="titlemodal">Fashione Shoes White</h3>
<br>
@ -342,7 +348,8 @@
style="padding-left: 20px; border-left: 1px solid black; padding-right: 20px;">
<h5 class="titlemodal"><b>Your Bag</b></h5>
<br>
<div class="modall justify-content-between" style="border-bottom: 1px solid black ;">
<div class="modall justify-content-between"
style="border-bottom: 1px solid black ;">
<p>Product Cost :</p>
<p>Rp 1.999.999,00</p>
</div>
@ -371,14 +378,12 @@
</div>
</div>
</div>
<script crossorigin="anonymous"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
</div>
<script crossorigin="anonymous" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
<script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
<script>
var modal = document.getElementById("myModal");
var btn = document.getElementById("myBtn");
@ -398,6 +403,7 @@
modal.style.display = "none";
}
}
</script>
</script>
</body>
</html>