-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (50 loc) · 2.16 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- CSS Stylesheet Link -->
<link rel="stylesheet" href="style.css">
<title>Creative Product Card</title>
</head>
<body>
<div class="container">
<div class="image">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/t-shirt.png" alt="">
</div>
<div class="card-content">
<div class="wrapper">
<div class="title">Adidas Originals</div>
<p>Men's running tshirt</p>
<div class="price">$29.99</div>
<div class="content size">
<div class="name size-name">size</div>
<div class="size-value">
<span class="color">XS</span>
<span class="color">S</span>
<span class="active">M</span>
<span class="color">L</span>
<span class="color">XL</span>
</div>
</div>
<div class="content colour">
<div class="name colour-name">colour</div>
<div class="colour-value">
<span class="white" data-color="lightgrey" data-img="https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/t-shirt-large2.png"></span>
<span class="blue active" data-color="#456abd" data-img="https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/t-shirt-large.png"></span>
<span class="yellow" data-color="#eaa523" data-img="https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/t-shirt-large3.png"></span>
</div>
</div>
<div class="btns">
<button>Buy now</button>
<button>Add to cart</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>