"product e-commerce boutique"
Bootstrap 4.1.1 Snippet by taimourya

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="style.css"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> </head> <body> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/cap-maquette_1310-498.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/casquette-realiste-se-moque_1310-152.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/casquette-noire-pour-maquette_34168-863.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/modele-maquette-casquette-baseball-blanc_34168-952.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/photos-gratuite/vetements-protection-fond-capuchon-rouge_1203-6403.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/sweat-capuche-psd_25226-57.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/sweat-capuche-noir-isole-maquette-vue-face_110893-2080.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/t-shirts-noirs-maquettes-devant-dos-utilises-comme-modele-conception_34168-864.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/cap-maquette_1310-498.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/casquette-realiste-se-moque_1310-152.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/casquette-noire-pour-maquette_34168-863.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/modele-maquette-casquette-baseball-blanc_34168-952.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/photos-gratuite/vetements-protection-fond-capuchon-rouge_1203-6403.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/sweat-capuche-psd_25226-57.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/sweat-capuche-noir-isole-maquette-vue-face_110893-2080.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="box card"> <div class="box cardImg"> <img src="https://image.freepik.com/psd-gratuit/t-shirts-noirs-maquettes-devant-dos-utilises-comme-modele-conception_34168-864.jpg" alt="..."> </div> <div class="info"> <h3>Name</h3> <p><span>150</span> DH</p> <button class="btn btn-primary">Acheter</button> </div> </div> </div> </div> </div> </body> </html>
.box { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 4px 8px 0 rgba(0, 0, 0, 0.19); border-radius: 10px; } .card { margin-top: 80px; height: 300px; transition: 0.5s; } .card:hover { border: 1px solid red; border-radius: 30px; } .card .cardImg { height: 150px; width: 90%; position: relative; top: -15px; left: 5%; } .card .cardImg img { width: 100%; height: 100%; } .card .info { text-align: center; } .card .info h3 { color: rgb(70, 66, 66); } .card .info p { color: rgb(41, 201, 49); } .ligne { display: flex; }

Related: See More


Questions / Comments: