img[data-type="dropimage"]{ transition: all 0.2s ease-in-out; } img[data-type="dropimage"]:hover{ transform: scale(0.9); opacity:0.8; }