Simple E-Commerce

Size
2,919 Kb
Views
26,312

How do I make an simple e-commerce?

A simple e-commerce layout.. What is a simple e-commerce? How do you make a simple e-commerce? This script and codes were developed by Larry Geams Parangan on 13 September 2022, Tuesday.

Simple E-Commerce Previews

Simple E-Commerce - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple E-Commerce</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="block">	<div class="product">	<img src="https://dribbble.s3.amazonaws.com/users/6033/screenshots/949815/ryu_drbl.gif">	<div class="buttons">	<a class="buy" href="#">Add to cart</a>	<a class="preview" href="#">View item</a>	</div>	</div>	<div class="info">	<h4>3D Ryu of Street Fighter</h4>	<span class="description">	An awesome 3D illustration of Denis "Krol" Krasavchikov	</span>	<span class="price">$62.97</span>	<a class="buy_now" href="#">Buy Now</a>	</div>	<div class="details">	<span class="time">12 hours ago</span>	</div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Simple E-Commerce - Script Codes CSS Codes

body{ background: #34495e;
}
.block {	display: block;	position: relative;	width: 295px;	border-radius: 5px;	background: #fff;	box-shadow: 0 1px 2px rgba(0, 0, 0, .2); margin: 50px auto;
}
.product {	display: block;	position: relative; height: 200px; overflow: hidden;
}
.product img {	width: 100%;	border-top-left-radius: 5px;	border-top-right-radius: 5px;
}
.info {	display: block;	position: relative;	padding: 20px;
}
.details {	border-top: 1px solid #e5e5e5;	padding: 18px 20px;
}
.buttons {	display: block;	position: absolute;	left: 0;	top: 0;	width: 100%;	height: 100%;	border-top-left-radius: 5px;	border-top-right-radius: 5px;	background: rgba(255, 255, 255, .5);	opacity: 0;	-webkit-transition: opacity .25s ease-in;	-ms-transition: opacity .25s ease-in;	-moz-transition: opacity .25s ease-in;	-o-transition: opacity .25s ease-in;	transition: opacity .25s ease-in;
}
.product:hover .buttons, .product:hover a {	opacity: 1;
}
.buttons a {	display: block;	position: absolute;	left: 0px; right: 0px; margin: auto;	width: 115px;	border-radius: 2px;	padding: 15px 40px;	font-family: Helvetica, sans-serif;	font-size: 15px;	font-weight: bold;	text-transform: uppercase;	color: #fff;	text-decoration: none;	opacity: 0; text-align: center;
}
a.buy {	top: 20%;	text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);	background: #1abc9c;	background-position: 0 -15px;	background-size: 400px 80px;	background-repeat: no-repeat;	box-shadow: 0 3px 0 #16a085;	-webkit-transition: background-position .2s ease-in;	-ms-transition: background-position .2s ease-in;	-moz-transition: background-position .2s ease-in;	-o-transition: background-position .2s ease-in;	transition: background-position .2s ease-in;
}
a.buy:active{ top: 21%; box-shadow: 0 0px 0 #16a085;
}
a.preview {	bottom: 20%;	text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);	background: #3498db;	background-position: 0 -15px;	background-size: 400px 80px;	background-repeat: no-repeat;	box-shadow: 0 3px 0 #2980b9;	-webkit-transition: background-position .2s ease-in;	-ms-transition: background-position .2s ease-in;	-moz-transition: background-position .2s ease-in;	-o-transition: background-position .2s ease-in;	transition: background-position .2s ease-in;
}
.preview:hover, .buy_now:hover {	background-position: 0 0;
}
.preview:active, .buy_now:active {	-webkit-transform: translateY(2px);	-ms-transform: translateY(2px);	-moz-transform: translateY(2px);	-o-transform: translateY(2px);	transform: translateY(2px);	box-shadow: none;
}
.info h4 {	position: relative;	padding: 0 0 20px 0;	margin: 0 0 20px 0;	font-family: "Open Sans", sans-serif;	font-weight: 700;	font-size: 19px;	line-height: 25px;	color: #372f2b;	letter-spacing: -1px;
}
.info h4::after {	display: block;	position: absolute;	bottom: 0px;	content: "";	width: 40px;	height: 2px;	background: #3b86c4;
}
.info .description {	display: block;	padding-bottom: 20px;	font-family: "Open Sans", sans-serif;	font-size: 14px;	font-weight: 600;	color: #5f5f5f;
}
.info .price {	font-family: "Open Sans", Helvetica, Arial, sans-serif;	font-size: 24px;	font-weight: 700;	color: #372f2b;	line-height: 26px;
}
.buy_now {	float: right;	position: relative;	top: -5px;	display: block;	padding: 10px 10px;	border-radius: 3px;	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;	color: #fff;	font-weight: bold;	text-decoration: none;	font-size: 15px;	text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);	background: #3498db;	-webkit-transition: background-position .2s ease-in;	-ms-transition: background-position .2s ease-in;	-moz-transition: background-position .2s ease-in;	-o-transition: background-position .2s ease-in;	transition: background-position .2s ease-in;	box-shadow: 0 3px 0 #2980b9;
}
.time {	font-family: "Open Sans", sans-serif;	font-size: 14px;	font-weight: 700;	color: #372f2b;	background: url("../img/clock-icon.png") no-repeat;	background-position: 0 2px;
}

Simple E-Commerce - Script Codes JS Codes

/*
* Dribble Shot of Denis "Krol" Krasavchikov
* http://dribbble.com/shots/949815-3d-Ryu-Gif
*
*
/
Simple E-Commerce - Script Codes
Simple E-Commerce - Script Codes
Home Page Home
Developer Larry Geams Parangan
Username larrygeams
Uploaded September 13, 2022
Rating 3.5
Size 2,919 Kb
Views 26,312
Do you need developer help for Simple E-Commerce?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Larry Geams Parangan (larrygeams) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!