"card"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/alexpopovich/pen/weMgMJ?limit=all&page=11&q=food" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'> <style class="cp-pen-styles">@import url("https://fonts.googleapis.com/css?family=Roboto"); * { margin: 0; padding: 0; font-family: "Roboto", sans-serif; list-style-type: none; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; } img { max-width: 100%; } html, body { height: 100%; } body { background: url("https://wallpaperscraft.com/image/coffee_coffee_beans_cupcake_candy_93301_1920x1080.jpg") no-repeat center; } .card { position: relative; background: #fff; max-width: 500px; margin: 20px auto; box-shadow: 0px 0px 30px 2px #000; } .card .header { background: url("http://img.taste.com.au/UZVXAdo7/taste/2016/11/chinese-egg-noodle-and-vegetable-stir-fry-94186-1.jpeg") no-repeat center; background-size: cover; min-height: 350px; } .card .header .icon a .fa-heart-o { position: absolute; left: 85%; bottom: 30.7%; background: #17BEBB; color: #fff; font-size: 1.3em; font-weight: bold; padding: 15px; border-radius: 50%; box-shadow: 0px 5px 30px 1px #17BEBB; } .card .text .food { color: #212129; text-align: left; font-weight: normal; text-transform: uppercase; letter-spacing: 0.1em; margin: 5px 30px; } .card .text .fa-clock-o { color: #9B9B9B; margin: 0 30px; } .card .text .fa-users { color: #9B9B9B; } .card .stars { margin: 10px 30px; } .card .stars li a i { color: #FFE500; } .card .info { margin: 10px 30px; } .card a.btn { display: block; background: #EF3E36; color: #fff; position: relative; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; padding: 10px; transition: 250ms; } .card a.btn:hover { background: #17BEBB; transition: 250ms; } </style></head><body> <div class="card"> <div class="header"> <div class="icon"> <a href="#"><i class="fa fa-heart-o"></i></a> </div> </div> <div class="text"> <h1 class="food"> Chinese Noodles </h1> <i class="fa fa-clock-o"> 15 Mins</i> <i class="fa fa-users"> Serves 2</i> <div class="stars"> <li> <a href="#"><i class="fa fa-star"></i></a> <a href="#"><i class="fa fa-star"></i></a> <a href="#"><i class="fa fa-star"></i></a> <a href="#"><i class="fa fa-star"></i></a> <a href="#"><i class="fa fa-star-o"></i></a> </li> </div> <p class="info">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Earum, temporibus.</p> </div> <a href="#" class="btn">Let's Cook!</a> </div> </body></html>

Related: See More


Questions / Comments: