Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Shivani_UI_UX/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Product-Card-UI
8 changes: 8 additions & 0 deletions Shivani_UI_UX/font-awesome.min.css

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions Shivani_UI_UX/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>UI Design - Product Card</title>
<link rel="stylesheet" href="font-awesome.min.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="card">
<div class="card-head">
<img src="logo (1).png" alt="logo" class="card-logo">
<img src="shoe.png" alt="Shoe" class="product-img">
<div class="product-detail">
<h2>Hartbeespoort</h2>
Support and Nike Zoom Air come together for a more supportive feel with high-speed responsiveness
</div>
<span class="back-text">
FAS
</span>
</div>
<div class="card-body">
<div class="product-desc">
<span class="product-title">
Hartbee<b>spoort</b>
<span class="badge">
New
</span>
</span>
<span class="product-caption">
Basket Ball Collection
</span>
<span class="product-rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star grey"></i>
</span>
</div>
<div class="product-properties">
<span class="product-size">
<h4>Size</h4>
<ul class="ul-size">
<li><a href="#">7</a></li>
<li><a href="#">8</a></li>
<li><a href="#">9</a></li>
<li><a href="#" class="active">10</a></li>
<li><a href="#">11</a></li>
</ul>
</span>
<span class="product-color">
<h4>Colour</h4>
<ul class="ul-color">
<li><a href="#" class="orange active"></a></li>
<li><a href="#" class="green"></a></li>
<li><a href="#" class="yellow"></a></li>
</ul>
</span>
<span class="product-price">
USD<b>23,453</b>
</span>
</div>
</div>
</div>
</div>
</body>
</html>

Binary file added Shivani_UI_UX/logo (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Shivani_UI_UX/shoe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
257 changes: 257 additions & 0 deletions Shivani_UI_UX/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
*{
margin: 0;
padding: 0;
outline: none;
}

body {
font-family: Roboto, sans-serif;
background: #353535;
}

.container
{
width: 280px;
height: 500px;
margin: 60px auto;
margin-left: 1000px;
}

.card
{
border-radius: 25px;
box-shadow: -11px 11px 1px rgba(0,0,0,0.3);
}

.card-head
{
position: relative;
height: 252px;
background: #fa782e; /* Old browsers */
background: -moz-linear-gradient(-45deg, #fa782e 8%, #c82930 83%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #fa782e 8%,#c82930 83%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #fa782e 8%,#c82930 83%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fa782e', endColorstr='#c82930',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
border-radius: 25px 25px 0 0;
}

.card-logo
{
width: 55px;
margin: 20px;
}

.product-img
{
position: absolute;
left: 0;
margin-top: -16px;
margin-left: 50px;
}

.product-detail
{
padding: 0 20px;
font-size: 11px;
color: #fff;
}

.product-detail h2
{
font-size: 18px;
font-weight: 500;
letter-spacing: 2px;
padding-bottom: 10px;
text-transform: uppercase;
}

.back-text
{
display: inline-block;
font-size: 125px;
font-weight: 900;
margin-left: -7px;
margin-top: -12px;
opacity: 0.1;
}

.card-body
{
height: 255px;
background: #fff;
border-radius: 0 0 25px 25px;
}

.product-title
{
padding: 20px 20px 5px 20px;
display: block;
font-size: 17px;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
}

.product-title b
{
font-weight: 900;
letter-spacing: 0px;
}

.badge
{
position: relative;
font-size: 10px;
font-weight: 300;
color: #fff;
background: #11e95b;
padding: 2px 5px;
border-radius: 4px;
top: -2px;
margin-left: 5px;
}

.product-caption
{
display: block;
padding: 0 20px;
font-size: 10px;
font-weight: 400;
text-transform: uppercase;
}

.product-rating
{
padding: 0 20px;
font-size: 11px;
}

.product-rating i.grey
{
color: #acacab;
}

.product-size h4
{
font-size: 11px;
padding: 0 21px;
margin-top: 15px;
padding-bottom: 10px;
text-transform: uppercase;
}

.ul-size
{
margin-left: 15px;
}

.ul-size li
{
list-style: none;
float: left;
margin-right: 20px;
}

.ul-size li a
{
display: inline-block;
text-decoration: none;
font-size: 11px;
width: 22px;
height: 22px;
border-radius: 100%;
text-align: center;
line-height: 23px;
color: #000;
}

.ul-size li a.active
{
background: #f35e3d;
color: #fff;
}

.product-size:before, .product-size:after
{
content: '';
display: block;
clear: both;
}

.product-color h4
{
font-size: 11px;
padding: 0 21px;
margin-top: 20px;
padding-bottom: 20px;
text-transform: uppercase;
}

.ul-color
{
margin-left: 27px;
}

.ul-color li
{
list-style: none;
float: left;
margin-right: 20px;
}

.ul-color li a
{
display: inline-block;
width: 16px;
height: 16px;
border-radius: 100%;
}

.ul-color li a.orange
{
background: #f35e3d;
}

.ul-color li a.green
{
background: #11e95b;
}

.ul-color li a.yellow
{
background: #ffd414;
}

.ul-color li a.active:after
{
position: absolute;
content: '';
display: inline-block;
border: 1px solid #f35e3d;
width: 24px;
height: 24px;
border-radius: 100%;
margin-left: -5px;
margin-top: -5px;
}

.product-price
{
position: absolute;
background: #11e95b;
padding: 7px 20px;
text-align: center;
display: inline-block;
font-size: 24px;
font-weight: 200;
color: #fff;
border-radius: 7px;
margin-top: -13px;
margin-left: -5px;
box-shadow: -10px 20px 15px -10px rgba(17,233,91,0.3);
}

.product-price b
{
margin-left: 5px;
}