Sitewide vs homepage CSS code

TallPhotoGuyTallPhotoGuy Registered Users Posts: 160 Major grins
edited May 4, 2014 in SmugMug Customization
All my CSS code is site wide in My Theme. Part of the code contains code for transparency when the mouse hovers over the photo. My Homepage contains photos with no action on the mouse click. Since the transparency effect is miss-leading on the homepage I added a CSS content block to the homepage and added the transparency code but changed the opacity to 1.0. It seems to work. Is this the proper and best way to do this.

/* Make the folder images slightly transparent when the mouse hovers over it */
.sm-user-ui .sm-tiles .sm-tile-content:hover {
opacity: 1.0;
/* Have the transparency fade in */
-webkit-transition: all 0.15s ease-in;
-moz-transition: all 0.15s ease-in;
transition: all 0.15 ease-in;
}

Comments

Sign In or Register to comment.