Created
October 27, 2020 20:57
-
-
Save tdrayson/672219a8b7423f797cbf24955d04e142 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Image Overlay on Hover*/ | |
.image-overlay{ | |
position: relative; | |
cursor: pointer; | |
} | |
.text-colour a{ | |
color:black; | |
} | |
.image-overlay:after { | |
content: ""; | |
display: block; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
background:#c0d142 url(img) no-repeat 50% 50%; | |
-moz-transition: background .3s linear; | |
-webkit-transition: background .3s linear; | |
-o-transition: background .3s linear; | |
transition: background .3s linear; | |
opacity:0; | |
-webkit-border-radius:50%; | |
} | |
.image-overlay:hover:after{ | |
opacity:0.8; | |
color: #c0d142; | |
} | |
.text-colour a:hover{ | |
color: #c0d142; | |
} | |
.zoom { | |
padding: 0px; | |
background-color: green; | |
transition: transform .2s; /* Animation */ | |
width: auto; | |
height: auto; | |
margin: 0 auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment