.box{ width:80%; height: 300px; } .new{ width: 75%; padding: 10px; border: 1px solid gainsboro; } .new h2{ color: gray; } .new label{ color: white; font-weight: 500; font-size: 16px; } .box img{ width: 100px; }