Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html, body {
- margin: 0;
- padding: 0;
- min-height: 100%;
- height: 100%;
- font-size: 14px;
- font-family: Arial;
- }
- div {
- box-sizing: border-box;
- }
- .main {
- width: 98%;
- padding: 20px;
- margin: 10px auto;
- }
- .clearfix::after {
- content: ' ';
- display: block;
- clear: both;
- }
- .product {
- position: relative;
- width: 239px;
- float: left;
- border: 1px solid grey;
- }
- .img_product {
- width: 195px;
- height: 150px;
- margin: 30px 30px;
- object-fit: contain;
- }
- .heart_btn {
- position: absolute;
- top: 10px;
- right: 10px;
- padding: 3px;
- background: white;
- border: 0;
- border-radius: 5px;
- }
- .heart_btn img {
- width: 20px;
- }
- .libra_btn {
- position: absolute;
- top: 40px;
- right: 10px;
- padding: 3px;
- background: white;
- border: 0;
- border-radius: 5px;
- }
- .libra_btn img {
- width: 20px;
- }
- .shopping-cart_btn {
- float: right;
- padding: 3px 25px 3px 3px;
- background: white;
- border: 0;
- border-radius: 5px;
- }
- .shopping-cart_btn img {
- width: 20px;
- }
- p {
- margin: 0 20px 20px 20px;
- }
- .price {
- font-size: 24px;
- }
- .green {
- color: seagreen;
- font-size: 10px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement