.csstransforms3d #book2:before { background-color: #333; } .csstransforms3d #book3:before { background-color: #254053; }