.checkoutbutton { font-family: arial; font-size: 17px; color: #000; font-weight: normal; font-style: normal; text-align: center; width: 250px; text-decoration: none; padding: 14px 32px; background-color: #ffffff; border-style: solid; border-width: 2px; position:relative; down: 100px; top: 60px; left: -160px; p.ex1 { padding-bottom: 25px; } } .checkoutbutton:hover { color: #fff; background-color: #292929; }