I combined :focus and :hover to produce these compact image viewers. I used pure CSS to control button and image behavior. I resolved many problems with these viewers. The last step involved assigning z-index settings to allow the :hover elements to float above the :focus and :active elements. They are fine for what they are, but the results are not pleasing.