کد HTML:
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<style>
body{direction: rtl;font-family:tahoma;font-size:18px}
.sabad{
width: 200px;
height: 45px;
background: linear-gradient(to right, #7bbd42, #7bbd42 70%, #6ba53a 0%, #6ba53a 100%, #7bbd42 100%);
color: #fff;
border-radius: 4px;
}
.name {
text-decoration: none;
color: #fff;
right: 80px;
top: 15px;
position: absolute;
}
.count {
color: #fff;
top: 20px;
position: absolute;
right: 170px;
background: #fd6400;
width: 24px;
height: 24px;
text-align: center;
border-radius: 24px;
}
</style>
</head>
<body>
<div class="sabad">
<a href="#" class="name"> سبد خرید </a> <span class="count">0</span>
</div>
</body>
</html>