* { box-sizing: border-box; } .columns { float: left; width: 33.3%; padding: 8px; } .price2 { list-style-type: none; border: 1px solid #eee; margin: 0; padding: 0; -webkit-transition: 0.3s; transition: 0.3s; box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2) } .price2:hover { box-shadow: 0 8px 12px 0 rgba(0,0,0,1) } .price2 .header { background-color: #358E39; color: white; font-size: 25px; text-shadow: 0 1px 1px rgba(0,0,0,0.4); } .price2 li { border-bottom: 1px solid #eee; padding: 20px; text-align: center; } .price2 .grey { background-color: #eee; font-size: 20px; } .price { list-style-type: none; border: 1px solid #eee; margin: 0; padding: 0; -webkit-transition: 0.3s; transition: 0.3s; } .price:hover { box-shadow: 0 8px 12px 0 rgba(0,0,0,0.5) } .price .header { background-color: #358E39; color: white; font-size: 25px; text-shadow: 0 1px 1px rgba(0,0,0,0.4); } .price li { border-bottom: 1px solid #eee; padding: 20px; text-align: center; } .price .grey { background-color: #eee; font-size: 20px; } .button { background-color: #4CAF50; border: none; color: white; padding: 10px 25px; text-align: center; text-decoration: none; font-size: 18px; } @media only screen and (max-width: 600px) { .columns { width: 100%; } }